Package org.glassfish.grizzly.memory
package org.glassfish.grizzly.memory
-
ClassDescriptionAbstractMemoryManager<E extends Buffer>A
MemoryManager
abstraction to provide utilities that may be useful across differentMemoryManager
implementations.This is a marker interface indicating a particularBuffer
implementation can be trimmed.Class has useful methods to simplify the work withBuffer
s.The simple Buffer manager implementation, which works as wrapper aboveByteBuffer
s.Buffer
implementation, which uses theByteBuffer
underneath.Bulk Buffer operation, responsible for byte-by-byte Buffer processing.The order in which internalBuffer
s will be disposed.Setter.Allows creation/customization ofMemoryManager
implementation to be used as theMemoryManager.DEFAULT_MEMORY_MANAGER
.Buffer
implementation, which uses theByteBuffer
underneath.MemoryManager<E extends Buffer>MemoryManager, responsible for allocating and releasing memory, required during application runtime.MemoryManager
monitoring probe.MemoryProbe
adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.Class has useful methods to simplify the work withBuffer
s.AMemoryManager
implementation based on a series of shared memory pools.A thread local pool used by aMemoryManager
to create and modify BuffersThis interface may be implemented by customMemoryManager
implementations in order to provide per-thread memory management.MemoryManager
s, which implement this interface, are able to convert frequently used Java buffer types to GrizzlyBuffer
.