public static final class SingleWorkerOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(SingleWorkerOptions options) |
Modifier and Type | Method and Description |
---|---|
SingleWorkerOptions |
build() |
SingleWorkerOptions.Builder |
setContextPropagators(java.util.List<ContextPropagator> contextPropagators)
Specifies the list of context propagators to use during this workflow.
|
SingleWorkerOptions.Builder |
setDataConverter(DataConverter dataConverter) |
SingleWorkerOptions.Builder |
setEnableLoggingInReplay(boolean enableLoggingInReplay) |
SingleWorkerOptions.Builder |
setIdentity(java.lang.String identity) |
SingleWorkerOptions.Builder |
setMetricsScope(com.uber.m3.tally.Scope metricsScope) |
SingleWorkerOptions.Builder |
setPollerOptions(PollerOptions pollerOptions) |
SingleWorkerOptions.Builder |
setTaskExecutorThreadPoolSize(int taskExecutorThreadPoolSize) |
SingleWorkerOptions.Builder |
setTaskListActivitiesPerSecond(double taskListActivitiesPerSecond) |
public Builder(SingleWorkerOptions options)
public SingleWorkerOptions.Builder setIdentity(java.lang.String identity)
public SingleWorkerOptions.Builder setDataConverter(DataConverter dataConverter)
public SingleWorkerOptions.Builder setTaskExecutorThreadPoolSize(int taskExecutorThreadPoolSize)
public SingleWorkerOptions.Builder setPollerOptions(PollerOptions pollerOptions)
public SingleWorkerOptions.Builder setMetricsScope(com.uber.m3.tally.Scope metricsScope)
public SingleWorkerOptions.Builder setEnableLoggingInReplay(boolean enableLoggingInReplay)
public SingleWorkerOptions.Builder setTaskListActivitiesPerSecond(double taskListActivitiesPerSecond)
public SingleWorkerOptions.Builder setContextPropagators(java.util.List<ContextPropagator> contextPropagators)
public SingleWorkerOptions build()