Class PollerOptions


  • public final class PollerOptions
    extends java.lang.Object
    Options for component that polls Temporal task queues for tasks.
    • Field Detail

      • UNHANDLED_COMMAND_EXCEPTION_MESSAGE

        public static final java.lang.String UNHANDLED_COMMAND_EXCEPTION_MESSAGE
        See Also:
        Constant Field Values
    • Method Detail

      • 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 class java.lang.Object