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