Top Interfaces Classes
module org.glassfish.grizzly

Package org.glassfish.grizzly.memory


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
DefaultMemoryManagerFactory

Allows creation/customization of MemoryManager implementation to be used as the MemoryManager#DEFAULT_MEMORY_MANAGER.

public interface
MemoryManager<E extends Buffer>

MemoryManager, responsible for allocating and releasing memory, required during application runtime.

public interface
MemoryProbe

MemoryManager monitoring probe.

public interface
ThreadLocalPool<
Type of Buffer that will be created
E
>

A thread local pool used by a MemoryManager to create and modify Buffers

public interface
ThreadLocalPoolProvider

This interface may be implemented by custom MemoryManager implementations in order to provide per-thread memory management.

public interface
WrapperAware

MemoryManagers, which implement this interface, are able to convert frequently used Java buffer types to Grizzly Buffer.

Class Summary

Modifier and TypeClass and Description
public abstract class
public abstract class
AbstractMemoryManager<E extends Buffer>

A MemoryManager abstraction to provide utilities that may be useful across different MemoryManager implementations.

pack-priv class
Bits

Modified java.nio.Bits source for Grizzly Purposes.

public class
public class
Buffers

Class has useful methods to simplify the work with Buffers.

public class
public class
public class
ByteBufferManager

The simple Buffer manager implementation, which works as wrapper above ByteBuffers.

public class
ByteBufferWrapper

Buffer implementation, which uses the ByteBuffer underneath.

public abstract class
public class
HeapBuffer

Buffer implementation, which uses the ByteBuffer underneath.

public class
HeapMemoryManager

A WrapperAware MemoryManager implementation for managing HeapBuffer instances.

pack-priv class
public class
MemoryUtils

Class has useful methods to simplify the work with Buffers.

public class
PooledMemoryManager

A MemoryManager implementation based on a series of shared memory pools.

pack-priv class
ProbeNotifier

Utility class, which has notification methods for different MemoryProbe events.

pack-priv class