public class ExecutorOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExecutorOptions |
defaults() |
long |
getTaskRetryInterval() |
ExecutorOptions |
taskRetryInterval(long timeout,
TimeUnit unit)
Defines task retry interval at the end of which task is executed again.
|
public static ExecutorOptions defaults()
public long getTaskRetryInterval()
public ExecutorOptions taskRetryInterval(long timeout, TimeUnit unit)
Set 0 to disable.
Default is 5 minutes
timeout - valueunit - valueCopyright © 2014–2018 The Redisson Project. All rights reserved.