Enum EventPoller.PollState

java.lang.Object
java.lang.Enum<EventPoller.PollState>
com.lmax.disruptor.EventPoller.PollState
All Implemented Interfaces:
Serializable, Comparable<EventPoller.PollState>, java.lang.constant.Constable
Enclosing class:
EventPoller<T>

public static enum EventPoller.PollState extends Enum<EventPoller.PollState>
Indicates the result of a call to EventPoller.poll(Handler)
  • Enum Constant Details

    • PROCESSING

      public static final EventPoller.PollState PROCESSING
      The poller processed one or more events
    • GATING

      public static final EventPoller.PollState GATING
      The poller is waiting for gated sequences to advance before events become available
    • IDLE

      public static final EventPoller.PollState IDLE
      No events need to be processed
  • Constructor Details

    • PollState

      private PollState()
  • Method Details

    • values

      public static EventPoller.PollState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EventPoller.PollState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null