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
-
-
-
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()
-
getStickyQueueScheduleToStartTimeout
@Nonnull public java.time.Duration getStickyQueueScheduleToStartTimeout()
-
isEagerExecutionDisabled
public boolean isEagerExecutionDisabled()
-
isUsingBuildIdForVersioning
public boolean isUsingBuildIdForVersioning()
-
getBuildId
public java.lang.String getBuildId()
-
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
-
-