Class ExecutorOptions

java.lang.Object
org.redisson.api.ExecutorOptions

@Deprecated public final class ExecutorOptions extends Object
Deprecated.
Configuration for ExecutorService.
Author:
Nikita Koksharov
  • Method Details

    • defaults

      public static ExecutorOptions defaults()
      Deprecated.
    • getTaskRetryInterval

      public long getTaskRetryInterval()
      Deprecated.
    • taskRetryInterval

      public ExecutorOptions taskRetryInterval(long timeout, TimeUnit unit)
      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 0 to disable.

      Default is 5 minutes

      Parameters:
      timeout - value
      unit - value
      Returns:
      self instance
    • getIdGenerator

      public IdGenerator getIdGenerator()
      Deprecated.
    • idGenerator

      public ExecutorOptions idGenerator(IdGenerator idGenerator)
      Deprecated.
      Defines identifier generator
      Parameters:
      idGenerator - identifier generator
      Returns:
      self instance