Class StatusIndicator

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

public abstract class StatusIndicator extends StatusIndicatorReader
Extends a StatusIndicatorReader with the ability to set the value so other readers can take action.
See Also:
  • Constructor Details

    • StatusIndicator

      public StatusIndicator()
      Default constructor.
  • Method Details

    • setVolatile

      public abstract void setVolatile(long value)
      Sets the current status indication of the component with volatile memory semantics.
      Parameters:
      value - the current status indication of the component.
    • setOrdered

      public abstract void setOrdered(long value)
      Sets the current status indication of the component with ordered memory semantics.

      This method is identical to setRelease(long) and that method should be used instead.

      Parameters:
      value - the current status indication of the component.
    • setRelease

      public abstract void setRelease(long value)
      Sets the current status indication of the component with release memory semantics.
      Parameters:
      value - the current status indication of the component.
    • setOpaque

      public abstract void setOpaque(long value)
      Sets the current status indication of the component with opaque memory semantics.
      Parameters:
      value - the current status indication of the component.