public final class LocalActivityWorker extends SuspendableWorkerBase
Modifier and Type | Class and Description |
---|---|
static class |
LocalActivityWorker.Task |
Constructor and Description |
---|
LocalActivityWorker(java.lang.String domain,
java.lang.String taskList,
SingleWorkerOptions options,
ActivityTaskHandler handler) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<LocalActivityWorker.Task,java.time.Duration,java.lang.Boolean> |
getLocalActivityTaskPoller() |
void |
start() |
awaitTermination, isShutdown, isStarted, isSuspended, isTerminated, resumePolling, shutdown, shutdownNow, suspendPolling
public LocalActivityWorker(java.lang.String domain, java.lang.String taskList, SingleWorkerOptions options, ActivityTaskHandler handler)
public void start()
public java.util.function.BiFunction<LocalActivityWorker.Task,java.time.Duration,java.lang.Boolean> getLocalActivityTaskPoller()