Package org.agrona
Data structures and utilities useful for building high-performance Java applications.
-
Interface Summary Interface Description DeadlineTimerWheel.TimerConsumer Consumer of timer entries as deadline to timerId.DeadlineTimerWheel.TimerHandler Handler for processing expired timers.DelegatingErrorHandler ErrorHandler
that can insert into a chain of responsibility, so it handles an error and then delegates on to the next in the chain.DirectBuffer Abstraction over a range of buffer types that allows fields to be read in native typed fashion.ErrorHandler Callback interface for handling an error/exception that has occurred when processing an operation or event.ExpandableRingBuffer.MessageConsumer Consumers of messages implement this interface and pass it toExpandableRingBuffer.consume(MessageConsumer, int)
.ManagedResource Implementations of this interface can a resource that need to have external state tracked for deletion.MutableDirectBuffer Abstraction over a range of buffer types that allows fields to be written in native typed fashion. -
Class Summary Class Description AbstractMutableDirectBuffer Common base class for implementingMutableDirectBuffer
interface.AsciiEncoding Helper for dealing with ASCII encoding of numbers.AsciiSequenceView View over aDirectBuffer
which contains an ASCII string for a given range.BitUtil Miscellaneous useful functions for dealing with low level bits and bytes.BufferUtil Common functions for buffer implementations.CloseHelper Utility functions to help with usingAutoCloseable
resources.DeadlineTimerWheel Timer Wheel for timers scheduled to expire on a deadline, (NOT thread safe).ExpandableArrayBuffer ExpandableMutableDirectBuffer
that is backed by an array.ExpandableDirectByteBuffer ExpandableMutableDirectBuffer
that is backed by a directByteBuffer
.ExpandableRingBuffer Ring-buffer for storing messages which can expand to accommodate the messages written into it.IoUtil Collection of IO utilities for dealing with files, especially mapping and un-mapping.LangUtil Grouping of language level utilities to make programming in Java more convenient.MarkFile AMarkFile
is used to mark the presence of a running component and to track liveness.PrintBufferUtil Useful utils to hex dump the Agrona's buffers.PrintBufferUtil.HexUtil References References provides two key helper methods for commonly used idioms on ref types:References.isCleared(Reference)
, andReferences.isReferringTo(Reference, Object)
.SemanticVersion Store and extract a semantic version in a 4 byte integer.Strings Utility functions for using Strings.SystemUtil Utilities for inspecting the system.UnsafeApi Entry point for accessingjdk.internal.misc.Unsafe
APIs.Verify Various verification checks to be applied in code. -
Enum Summary Enum Description PropertyAction Action to be taken for each property loaded into system properties. -
Exception Summary Exception Description AsciiNumberFormatException Thrown when parsing an ASCII string and finding characters that are not digits.