|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MemoryManager | |
|---|---|
| org.glassfish.grizzly | |
| org.glassfish.grizzly.memory | |
| org.glassfish.grizzly.memory.slab | |
| Uses of MemoryManager in org.glassfish.grizzly |
|---|
| Fields in org.glassfish.grizzly declared as MemoryManager | |
|---|---|
protected MemoryManager |
TransportFactory.defaultMemoryManager
Default MemoryManager used by all Transports. |
protected MemoryManager |
AbstractTransport.memoryManager
Transport MemoryManager |
| Methods in org.glassfish.grizzly that return MemoryManager | |
|---|---|
MemoryManager |
TransportFactory.getDefaultMemoryManager()
Get default MemoryManager, used by all Transports. |
MemoryManager |
Transport.getMemoryManager()
Get the Transport associated MemoryManager, which will
be used by the Transport, its Connections and by during
processing I/O events, occurred on Connections. |
MemoryManager |
AbstractTransformer.getMemoryManager()
|
MemoryManager |
AbstractTransport.getMemoryManager()
Get the Transport associated MemoryManager, which will
be used by the Transport, its Connections and by during
processing I/O events, occurred on Connections. |
protected MemoryManager |
AbstractTransformer.obtainMemoryManager(AttributeStorage storage)
|
| Methods in org.glassfish.grizzly with parameters of type MemoryManager | |
|---|---|
void |
TransportFactory.setDefaultMemoryManager(MemoryManager defaultMemoryManager)
Set default MemoryManager, used by all Transports. |
void |
Transport.setMemoryManager(MemoryManager memoryManager)
Set the Transport associated MemoryManager, which will
be used by the Transport, its Connections and by during
processing I/O events, occurred on Connections. |
void |
AbstractTransformer.setMemoryManager(MemoryManager memoryManager)
|
void |
AbstractTransport.setMemoryManager(MemoryManager memoryManager)
Set the Transport associated MemoryManager, which will
be used by the Transport, its Connections and by during
processing I/O events, occurred on Connections. |
| Uses of MemoryManager in org.glassfish.grizzly.memory |
|---|
| Classes in org.glassfish.grizzly.memory that implement MemoryManager | |
|---|---|
class |
ByteBufferManager
The simple Buffer manager implementation, which works as wrapper above ByteBuffers. |
class |
ByteBufferViewManager
The ByteBufferManager implementation, which doesn't allocate
ByteBuffers each time allocate is called. |
class |
DefaultMemoryManager
Default MemoryManager, used in Grizzly. |
| Methods in org.glassfish.grizzly.memory with parameters of type MemoryManager | ||
|---|---|---|
static
|
MemoryUtils.wrap(MemoryManager<E> memoryManager,
byte[] array)
Returns Buffer, which wraps the byte array. |
|
static
|
MemoryUtils.wrap(MemoryManager<E> memoryManager,
byte[] array,
int offset,
int length)
Returns Buffer, which wraps the part of byte array with
specific offset and length. |
|
static
|
MemoryUtils.wrap(MemoryManager<E> memoryManager,
ByteBuffer byteBuffer)
Returns Buffer, which wraps the ByteBuffer. |
|
static
|
MemoryUtils.wrap(MemoryManager<E> memoryManager,
String s)
Returns Buffer, which wraps the String. |
|
static
|
MemoryUtils.wrap(MemoryManager<E> memoryManager,
String s,
Charset charset)
Returns Buffer, which wraps the String with the specific
Charset. |
|
| Uses of MemoryManager in org.glassfish.grizzly.memory.slab |
|---|
| Classes in org.glassfish.grizzly.memory.slab that implement MemoryManager | |
|---|---|
class |
SlabMemoryManagerBase
Base class for implementing an SlabMemory Allocator. |
class |
SlabMemoryManagerImpl
A simple non-pooled implementation of an Allocator. |
class |
SlabPoolMemoryManagerImpl
An Allocator implemented on a SlabPool. |
| Methods in org.glassfish.grizzly.memory.slab that return MemoryManager | |
|---|---|
static MemoryManager |
SlabMemoryManagerFactory.makeAllocator()
|
static MemoryManager |
SlabMemoryManagerFactory.makeAllocator(int allocatorSize,
boolean bufferType)
Return an Allocator that allocates from one slab at a time, creating a new slab as needed. |
static MemoryManager |
SlabMemoryManagerFactory.makePoolAllocator(SlabMemoryManagerFactory.SlabPool pool)
Create an Allocator that allocates from a pool of slabs. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||