Package io.temporal.internal.worker
Class PollerOptions
- java.lang.Object
-
- io.temporal.internal.worker.PollerOptions
-
public final class PollerOptions extends java.lang.Object
Options for component that polls Temporal task queues for tasks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollerOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNHANDLED_COMMAND_EXCEPTION_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getBackoffCoefficient()
java.time.Duration
getBackoffCongestionInitialInterval()
java.time.Duration
getBackoffInitialInterval()
java.time.Duration
getBackoffMaximumInterval()
double
getBackoffMaximumJitterCoefficient()
static PollerOptions
getDefaultInstance()
int
getMaximumPollRateIntervalMilliseconds()
double
getMaximumPollRatePerSecond()
int
getPollThreadCount()
java.lang.String
getPollThreadNamePrefix()
java.lang.Thread.UncaughtExceptionHandler
getUncaughtExceptionHandler()
static PollerOptions.Builder
newBuilder()
static PollerOptions.Builder
newBuilder(PollerOptions options)
java.lang.String
toString()
-
-
-
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()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-