public final class WorkerOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkerOptions.Builder |
Modifier and Type | Method and 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() |
public static WorkerOptions.Builder newBuilder()
public static WorkerOptions.Builder newBuilder(WorkerOptions options)
public static WorkerOptions defaultInstance()
public double getWorkerActivitiesPerSecond()
public int getMaxConcurrentActivityExecutionSize()
public int getMaxConcurrentWorkflowExecutionSize()
public int getMaxConcurrentLocalActivityExecutionSize()
public double getTaskListActivitiesPerSecond()
public PollerOptions getActivityPollerOptions()
public PollerOptions getWorkflowPollerOptions()
public java.util.function.Function<WorkflowInterceptor,WorkflowInterceptor> getInterceptorFactory()
public java.lang.String toString()
toString
in class java.lang.Object