Package org.glassfish.grizzly.memory
-
Interface Summary Interface Description AbstractMemoryManager.TrimAware This is a marker interface indicating a particularBufferimplementation can be trimmed.ByteBufferAware CompositeBuffer.BulkOperation Bulk Buffer operation, responsible for byte-by-byte Buffer processing.CompositeBuffer.Setter Setter.DefaultMemoryManagerFactory Allows creation/customization ofMemoryManagerimplementation to be used as theMemoryManager.DEFAULT_MEMORY_MANAGER.MemoryManager<E extends Buffer> MemoryManager, responsible for allocating and releasing memory, required during application runtime.MemoryProbe MemoryManagermonitoring probe.ThreadLocalPool<E> A thread local pool used by aMemoryManagerto create and modify BuffersThreadLocalPoolProvider This interface may be implemented by customMemoryManagerimplementations in order to provide per-thread memory management.WrapperAware MemoryManagers, which implement this interface, are able to convert frequently used Java buffer types to GrizzlyBuffer. -
Class Summary Class Description AbstractBufferArray<E> AbstractMemoryManager<E extends Buffer> AMemoryManagerabstraction to provide utilities that may be useful across differentMemoryManagerimplementations.BufferArray Buffers Class has useful methods to simplify the work withBuffers.BuffersBuffer ByteBufferArray ByteBufferManager The simple Buffer manager implementation, which works as wrapper aboveByteBuffers.ByteBufferWrapper Bufferimplementation, which uses theByteBufferunderneath.CompositeBuffer HeapBuffer Bufferimplementation, which uses theByteBufferunderneath.HeapMemoryManager MemoryProbe.Adapter MemoryProbeadapter that provides no-op implementations for all interface methods allowing easy extension by the developer.MemoryUtils Class has useful methods to simplify the work withBuffers.PooledMemoryManager AMemoryManagerimplementation based on a series of shared memory pools. -
Enum Summary Enum Description CompositeBuffer.DisposeOrder The order in which internalBuffers will be disposed.