Package io.temporal.internal.worker
Class PollerOptions
- java.lang.Object
-
- io.temporal.internal.worker.PollerOptions
-
public final class PollerOptions extends java.lang.ObjectOptions for component that polls Temporal task queues for tasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPollerOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringUNHANDLED_COMMAND_EXCEPTION_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBackoffCoefficient()java.time.DurationgetBackoffCongestionInitialInterval()java.time.DurationgetBackoffInitialInterval()java.time.DurationgetBackoffMaximumInterval()doublegetBackoffMaximumJitterCoefficient()static PollerOptionsgetDefaultInstance()intgetMaximumPollRateIntervalMilliseconds()doublegetMaximumPollRatePerSecond()intgetPollThreadCount()java.lang.StringgetPollThreadNamePrefix()java.lang.Thread.UncaughtExceptionHandlergetUncaughtExceptionHandler()booleanisUsingVirtualThreads()static PollerOptions.BuildernewBuilder()static PollerOptions.BuildernewBuilder(PollerOptions options)java.lang.StringtoString()
-
-
-
Field Detail
-
UNHANDLED_COMMAND_EXCEPTION_MESSAGE
public static final java.lang.String UNHANDLED_COMMAND_EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
newBuilder
public static PollerOptions.Builder newBuilder()
-
newBuilder
public static PollerOptions.Builder newBuilder(PollerOptions options)
-
getDefaultInstance
public static PollerOptions getDefaultInstance()
-
getMaximumPollRateIntervalMilliseconds
public int getMaximumPollRateIntervalMilliseconds()
-
getMaximumPollRatePerSecond
public double getMaximumPollRatePerSecond()
-
getBackoffCoefficient
public double getBackoffCoefficient()
-
getBackoffInitialInterval
public java.time.Duration getBackoffInitialInterval()
-
getBackoffCongestionInitialInterval
public java.time.Duration getBackoffCongestionInitialInterval()
-
getBackoffMaximumInterval
public java.time.Duration getBackoffMaximumInterval()
-
getBackoffMaximumJitterCoefficient
public double getBackoffMaximumJitterCoefficient()
-
getPollThreadCount
public int getPollThreadCount()
-
getUncaughtExceptionHandler
public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler()
-
getPollThreadNamePrefix
public java.lang.String getPollThreadNamePrefix()
-
isUsingVirtualThreads
public boolean isUsingVirtualThreads()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-