public final class LocallyDispatchedActivityWorker extends ActivityWorker
Modifier and Type | Class and Description |
---|---|
static class |
LocallyDispatchedActivityWorker.Task |
options
Constructor and Description |
---|
LocallyDispatchedActivityWorker(IWorkflowService service,
java.lang.String domain,
java.lang.String taskList,
SingleWorkerOptions options,
ActivityTaskHandler handler) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Function<LocallyDispatchedActivityWorker.Task,java.lang.Boolean> |
getLocallyDispatchedActivityTaskPoller() |
protected Poller.PollTask<PollForActivityTaskResponse> |
getOrCreateActivityPollTask() |
start
awaitTermination, isShutdown, isStarted, isSuspended, isTerminated, resumePolling, shutdown, shutdownNow, suspendPolling
public LocallyDispatchedActivityWorker(IWorkflowService service, java.lang.String domain, java.lang.String taskList, SingleWorkerOptions options, ActivityTaskHandler handler)
protected Poller.PollTask<PollForActivityTaskResponse> getOrCreateActivityPollTask()
getOrCreateActivityPollTask
in class ActivityWorker
public java.util.function.Function<LocallyDispatchedActivityWorker.Task,java.lang.Boolean> getLocallyDispatchedActivityTaskPoller()