Module org.glassfish.grizzly
Package org.glassfish.grizzly.memory
package org.glassfish.grizzly.memory
-
ClassDescriptionAbstractMemoryManager<E extends Buffer>A
MemoryManagerabstraction to provide utilities that may be useful across differentMemoryManagerimplementations.This is a marker interface indicating a particularBufferimplementation can be trimmed.Class has useful methods to simplify the work withBuffers.The simple Buffer manager implementation, which works as wrapper aboveByteBuffers.Bufferimplementation, which uses theByteBufferunderneath.Bulk Buffer operation, responsible for byte-by-byte Buffer processing.The order in which internalBuffers will be disposed.Setter.Allows creation/customization ofMemoryManagerimplementation to be used as theMemoryManager.DEFAULT_MEMORY_MANAGER.Bufferimplementation, which uses theByteBufferunderneath.MemoryManager<E extends Buffer>MemoryManager, responsible for allocating and releasing memory, required during application runtime.MemoryManagermonitoring probe.MemoryProbeadapter that provides no-op implementations for all interface methods allowing easy extension by the developer.Class has useful methods to simplify the work withBuffers.AMemoryManagerimplementation based on a series of shared memory pools.A thread local pool used by aMemoryManagerto create and modify BuffersThis interface may be implemented by customMemoryManagerimplementations in order to provide per-thread memory management.MemoryManagers, which implement this interface, are able to convert frequently used Java buffer types to GrizzlyBuffer.