public interface ActivityTaskHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
ActivityTaskHandler.Result |
| Modifier and Type | Method and Description |
|---|---|
ActivityTaskHandler.Result |
handle(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activityTask,
com.uber.m3.tally.Scope metricsScope,
boolean isLocalActivity)
The implementation should be called when a polling activity worker receives a new activity
task.
|
boolean |
isAnyTypeSupported()
True if this handler handles at least one activity type.
|
ActivityTaskHandler.Result handle(io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse activityTask, com.uber.m3.tally.Scope metricsScope, boolean isLocalActivity)
activityTask - activity task which is response to PollActivityTaskQueue call.boolean isAnyTypeSupported()