Package com.uber.cadence.worker
Class WorkerOptions
- java.lang.Object
-
- com.uber.cadence.worker.WorkerOptions
-
public final class WorkerOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkerOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkerOptions
defaultInstance()
PollerOptions
getActivityPollerOptions()
java.util.function.Function<WorkflowInterceptor,WorkflowInterceptor>
getInterceptorFactory()
int
getMaxConcurrentActivityExecutionSize()
int
getMaxConcurrentLocalActivityExecutionSize()
int
getMaxConcurrentWorkflowExecutionSize()
double
getTaskListActivitiesPerSecond()
double
getWorkerActivitiesPerSecond()
PollerOptions
getWorkflowPollerOptions()
static WorkerOptions.Builder
newBuilder()
static WorkerOptions.Builder
newBuilder(WorkerOptions options)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static WorkerOptions.Builder newBuilder()
-
newBuilder
public static WorkerOptions.Builder newBuilder(WorkerOptions options)
-
defaultInstance
public static WorkerOptions defaultInstance()
-
getWorkerActivitiesPerSecond
public double getWorkerActivitiesPerSecond()
-
getMaxConcurrentActivityExecutionSize
public int getMaxConcurrentActivityExecutionSize()
-
getMaxConcurrentWorkflowExecutionSize
public int getMaxConcurrentWorkflowExecutionSize()
-
getMaxConcurrentLocalActivityExecutionSize
public int getMaxConcurrentLocalActivityExecutionSize()
-
getTaskListActivitiesPerSecond
public double getTaskListActivitiesPerSecond()
-
getActivityPollerOptions
public PollerOptions getActivityPollerOptions()
-
getWorkflowPollerOptions
public PollerOptions getWorkflowPollerOptions()
-
getInterceptorFactory
public java.util.function.Function<WorkflowInterceptor,WorkflowInterceptor> getInterceptorFactory()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-