Class PollerBehaviorSimpleMaximum

  • All Implemented Interfaces:
    PollerBehavior

    public class PollerBehaviorSimpleMaximum
    extends java.lang.Object
    implements PollerBehavior
    A poller behavior that will attempt to poll as long as a slot is available, up to the provided maximum. Cannot be less than two for workflow tasks, or one for other tasks.
    • Constructor Summary

      Constructors 
      Constructor Description
      PollerBehaviorSimpleMaximum​(int maxConcurrentTaskPollers)
      Creates a new PollerBehaviorSimpleMaximum with the specified maximum number of concurrent task pollers.
    • Constructor Detail

      • PollerBehaviorSimpleMaximum

        public PollerBehaviorSimpleMaximum​(int maxConcurrentTaskPollers)
        Creates a new PollerBehaviorSimpleMaximum with the specified maximum number of concurrent task pollers.
        Parameters:
        maxConcurrentTaskPollers - Maximum number of concurrent task pollers.
    • Method Detail

      • getMaxConcurrentTaskPollers

        public int getMaxConcurrentTaskPollers()
        Gets the maximum number of concurrent task pollers.
        Returns:
        Maximum number of concurrent task pollers.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object