Package org.agrona.concurrent.status
package org.agrona.concurrent.status
Counters for indicating status and telemetry which can be put in shared memory for live inspection.
-
ClassDescriptionAtomic counter that is backed by an
AtomicBufferthat can be read across threads and processes.Positionthat is backed by anAtomicLongwhich is useful for tests.A thread safe extension ofCountersManagerwhich allows intra-process read and write access to the same counters buffer.Manages the allocation and freeing of counters that are normally stored in a memory-mapped file.Reads the counters metadata and values buffers.Callback function for consuming basic counter details and value.Callback function for consuming metadata records of counters.Reports on how far through a buffer some component has progressed.Indicates how far through an abstract task a component has progressed as a counter value.Extends aStatusIndicatorReaderwith the ability to set the value so other readers can take action.Reads the value of a counter to indicate current status and what abstraction should be taken.Reports a position by recording it in anUnsafeBuffer.StatusIndicatorwhich wraps anAtomicBufferwith a given counter id.