Package org.glassfish.grizzly.memory
-
Interface Summary Interface Description AbstractMemoryManager.TrimAware This is a marker interface indicating a particularBuffer
implementation can be trimmed.ByteBufferAware CompositeBuffer.BulkOperation Bulk Buffer operation, responsible for byte-by-byte Buffer processing.CompositeBuffer.Setter Setter.DefaultMemoryManagerFactory Allows creation/customization ofMemoryManager
implementation to be used as theMemoryManager.DEFAULT_MEMORY_MANAGER
.MemoryManager<E extends Buffer> MemoryManager, responsible for allocating and releasing memory, required during application runtime.MemoryProbe MemoryManager
monitoring probe.ThreadLocalPool<E> A thread local pool used by aMemoryManager
to create and modify BuffersThreadLocalPoolProvider This interface may be implemented by customMemoryManager
implementations in order to provide per-thread memory management.WrapperAware MemoryManager
s, 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> AMemoryManager
abstraction to provide utilities that may be useful across differentMemoryManager
implementations.BufferArray Buffers Class has useful methods to simplify the work withBuffer
s.BuffersBuffer ByteBufferArray ByteBufferManager The simple Buffer manager implementation, which works as wrapper aboveByteBuffer
s.ByteBufferWrapper Buffer
implementation, which uses theByteBuffer
underneath.CompositeBuffer HeapBuffer Buffer
implementation, which uses theByteBuffer
underneath.HeapMemoryManager MemoryProbe.Adapter MemoryProbe
adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.MemoryUtils Class has useful methods to simplify the work withBuffer
s.PooledMemoryManager AMemoryManager
implementation based on a series of shared memory pools. -
Enum Summary Enum Description CompositeBuffer.DisposeOrder The order in which internalBuffer
s will be disposed.