Package org.agrona.concurrent.status
Counters for indicating status and telemetry which can be put in shared memory for live inspection.
-
Interface Summary Interface Description CountersReader.CounterConsumer Callback function for consuming basic counter details and value.CountersReader.MetaData Callback function for consuming metadata records of counters. -
Class Summary Class Description AtomicCounter Atomic counter that is backed by anAtomicBuffer
that can be read across threads and processes.AtomicLongPosition Position
that is backed by anAtomicLong
which is useful for tests.ConcurrentCountersManager A thread safe extension ofCountersManager
which allows intra-process read and write access to the same counters buffer.CountersManager Manages the allocation and freeing of counters that are normally stored in a memory-mapped file.CountersReader Reads the counters metadata and values buffers.Position Reports on how far through a buffer some component has progressed.ReadablePosition Indicates how far through an abstract task a component has progressed as a counter value.StatusIndicator Extends aStatusIndicatorReader
with the ability to set the value so other readers can take action.StatusIndicatorReader Reads the value of a counter to indicate current status and what abstraction should be taken.UnsafeBufferPosition Reports a position by recording it in anUnsafeBuffer
.UnsafeBufferStatusIndicator StatusIndicator
which wraps anAtomicBuffer
with a given counter id.