Class StatusIndicatorReader

java.lang.Object
org.agrona.concurrent.status.StatusIndicatorReader
Direct Known Subclasses:
StatusIndicator

public abstract class StatusIndicatorReader extends Object
Reads the value of a counter to indicate current status and what abstraction should be taken.
See Also:
  • Constructor Details

    • StatusIndicatorReader

      public StatusIndicatorReader()
  • Method Details

    • id

      public abstract int id()
      Identifier for this status indicator.
      Returns:
      the identifier for this status indicator.
    • getVolatile

      public abstract long getVolatile()
      Get the current status indication of a component with volatile semantics.
      Returns:
      the current status indication of a component with volatile semantics.