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 static PollerOptions
getDefaultInstance()
int
getMaximumPollRateIntervalMilliseconds()
double
getMaximumPollRatePerSecond()
double
getPollBackoffCoefficient()
java.time.Duration
getPollBackoffInitialInterval()
java.time.Duration
getPollBackoffMaximumInterval()
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()
-
getPollBackoffCoefficient
public double getPollBackoffCoefficient()
-
getPollBackoffInitialInterval
public java.time.Duration getPollBackoffInitialInterval()
-
getPollBackoffMaximumInterval
public java.time.Duration getPollBackoffMaximumInterval()
-
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
-
-