Package com.uber.cadence.internal.worker
Class WorkflowPollTaskFactory
- java.lang.Object
-
- com.uber.cadence.internal.worker.WorkflowPollTaskFactory
-
- All Implemented Interfaces:
java.util.function.Supplier<Poller.PollTask<PollForDecisionTaskResponse>>
public class WorkflowPollTaskFactory extends java.lang.Object implements java.util.function.Supplier<Poller.PollTask<PollForDecisionTaskResponse>>
-
-
Constructor Summary
Constructors Constructor Description WorkflowPollTaskFactory(IWorkflowService service, java.lang.String domain, java.lang.String taskList, com.uber.m3.tally.Scope metricScope, java.lang.String identity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Poller.PollTask<PollForDecisionTaskResponse>
get()
-
-
-
Constructor Detail
-
WorkflowPollTaskFactory
public WorkflowPollTaskFactory(IWorkflowService service, java.lang.String domain, java.lang.String taskList, com.uber.m3.tally.Scope metricScope, java.lang.String identity)
-
-
Method Detail
-
get
public Poller.PollTask<PollForDecisionTaskResponse> get()
- Specified by:
get
in interfacejava.util.function.Supplier<Poller.PollTask<PollForDecisionTaskResponse>>
-
-