Class PollerOptions

java.lang.Object
io.temporal.internal.worker.PollerOptions

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

  • Method Details

    • 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 Duration getBackoffInitialInterval()
    • getBackoffCongestionInitialInterval

      public Duration getBackoffCongestionInitialInterval()
    • getBackoffMaximumInterval

      public Duration getBackoffMaximumInterval()
    • getBackoffMaximumJitterCoefficient

      public double getBackoffMaximumJitterCoefficient()
    • getPollerBehavior

      public PollerBehavior getPollerBehavior()
    • getUncaughtExceptionHandler

      public Thread.UncaughtExceptionHandler getUncaughtExceptionHandler()
    • getPollThreadNamePrefix

      public String getPollThreadNamePrefix()
    • isUsingVirtualThreads

      public boolean isUsingVirtualThreads()
    • getPollerTaskExecutorOverride

      public ExecutorService getPollerTaskExecutorOverride()
    • toString

      public String toString()
      Overrides:
      toString in class Object