public class TaskRunnerConfigurer
extends java.lang.Object
Workers.| Modifier and Type | Class and Description |
|---|---|
static class |
TaskRunnerConfigurer.Builder
Builder used to create the instances of TaskRunnerConfigurer
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSleepWhenRetry() |
int |
getThreadCount() |
int |
getUpdateRetryCount() |
java.lang.String |
getWorkerNamePrefix() |
void |
init()
Starts the polling.
|
void |
shutdown()
Invoke this method within a PreDestroy block within your application to facilitate a graceful shutdown of your
worker, during process termination.
|
public int getThreadCount()
public int getSleepWhenRetry()
public int getUpdateRetryCount()
public java.lang.String getWorkerNamePrefix()
public void init()
TaskRunnerConfigurer.Builder.build() method.public void shutdown()