Package org.redisson.api
Class ExecutorOptions
java.lang.Object
org.redisson.api.ExecutorOptions
Deprecated.
Configuration for ExecutorService.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorOptionsdefaults()Deprecated.Deprecated.longDeprecated.idGenerator(IdGenerator idGenerator) Deprecated.Defines identifier generatortaskRetryInterval(long timeout, TimeUnit unit) Deprecated.Defines task retry interval at the end of which task is executed again by ExecutorService worker.
-
Method Details
-
defaults
Deprecated. -
getTaskRetryInterval
public long getTaskRetryInterval()Deprecated. -
taskRetryInterval
Deprecated.Defines task retry interval at the end of which task is executed again by ExecutorService worker.Counted from the task start moment. Applied only if the task was in progress but for some reason wasn't marked as completed (successful or unsuccessful).
Set
0to disable.Default is
5 minutes- Parameters:
timeout- valueunit- value- Returns:
- self instance
-
getIdGenerator
Deprecated. -
idGenerator
Deprecated.Defines identifier generator- Parameters:
idGenerator- identifier generator- Returns:
- self instance
-