Package org.agrona.concurrent.status
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 aStatusIndicatorReader
with the ability to set the value so other readers can take action.- See Also:
CountersManager
-
-
Constructor Summary
Constructors Constructor Description StatusIndicator()
Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
setOpaque(long value)
Sets the current status indication of the component with opaque memory semantics.abstract void
setOrdered(long value)
Sets the current status indication of the component with ordered memory semantics.abstract void
setRelease(long value)
Sets the current status indication of the component with release memory semantics.abstract void
setVolatile(long value)
Sets the current status indication of the component with volatile memory semantics.-
Methods inherited from class org.agrona.concurrent.status.StatusIndicatorReader
getAcquire, getOpaque, getVolatile, id
-
-
-
-
Method Detail
-
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.
-
-