Package io.temporal.worker
Class WorkerOptions
- java.lang.Object
-
- io.temporal.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 Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getActivityPollThreadCount()
Deprecated.long
getDefaultDeadlockDetectionTimeout()
java.time.Duration
getDefaultHeartbeatThrottleInterval()
static WorkerOptions
getDefaultInstance()
int
getMaxConcurrentActivityExecutionSize()
int
getMaxConcurrentActivityTaskPollers()
int
getMaxConcurrentLocalActivityExecutionSize()
int
getMaxConcurrentWorkflowTaskExecutionSize()
int
getMaxConcurrentWorkflowTaskPollers()
java.time.Duration
getMaxHeartbeatThrottleInterval()
double
getMaxTaskQueueActivitiesPerSecond()
double
getMaxWorkerActivitiesPerSecond()
int
getWorkflowPollThreadCount()
Deprecated.int
hashCode()
boolean
isLocalActivityWorkerOnly()
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)
-
getDefaultInstance
public static WorkerOptions getDefaultInstance()
-
getMaxWorkerActivitiesPerSecond
public double getMaxWorkerActivitiesPerSecond()
-
getMaxConcurrentActivityExecutionSize
public int getMaxConcurrentActivityExecutionSize()
-
getMaxConcurrentWorkflowTaskExecutionSize
public int getMaxConcurrentWorkflowTaskExecutionSize()
-
getMaxConcurrentLocalActivityExecutionSize
public int getMaxConcurrentLocalActivityExecutionSize()
-
getMaxTaskQueueActivitiesPerSecond
public double getMaxTaskQueueActivitiesPerSecond()
-
getWorkflowPollThreadCount
@Deprecated public int getWorkflowPollThreadCount()
Deprecated.
-
getMaxConcurrentWorkflowTaskPollers
public int getMaxConcurrentWorkflowTaskPollers()
-
getActivityPollThreadCount
@Deprecated public int getActivityPollThreadCount()
Deprecated.
-
getMaxConcurrentActivityTaskPollers
public int getMaxConcurrentActivityTaskPollers()
-
getDefaultDeadlockDetectionTimeout
public long getDefaultDeadlockDetectionTimeout()
-
isLocalActivityWorkerOnly
public boolean isLocalActivityWorkerOnly()
-
getMaxHeartbeatThrottleInterval
public java.time.Duration getMaxHeartbeatThrottleInterval()
-
getDefaultHeartbeatThrottleInterval
public java.time.Duration getDefaultHeartbeatThrottleInterval()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-