Uses of Interface
com.sun.grizzly.memory.MemoryManager

Packages that use MemoryManager
com.sun.grizzly   
com.sun.grizzly.memory   
com.sun.grizzly.memory.slab   
 

Uses of MemoryManager in com.sun.grizzly
 

Fields in com.sun.grizzly declared as MemoryManager
protected  MemoryManager TransportFactory.defaultMemoryManager
          Default MemoryManager used by all Transports.
protected  MemoryManager AbstractTransport.memoryManager
          Transport MemoryManager
 

Methods in com.sun.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 com.sun.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 com.sun.grizzly.memory
 

Classes in com.sun.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 com.sun.grizzly.memory with parameters of type MemoryManager
static
<E extends Buffer>
E
MemoryUtils.wrap(MemoryManager<E> memoryManager, byte[] array)
          Returns Buffer, which wraps the byte array.
static
<E extends Buffer>
E
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
<E extends Buffer>
E
MemoryUtils.wrap(MemoryManager<E> memoryManager, ByteBuffer byteBuffer)
          Returns Buffer, which wraps the ByteBuffer.
static
<E extends Buffer>
E
MemoryUtils.wrap(MemoryManager<E> memoryManager, String s)
          Returns Buffer, which wraps the String.
static
<E extends Buffer>
E
MemoryUtils.wrap(MemoryManager<E> memoryManager, String s, Charset charset)
          Returns Buffer, which wraps the String with the specific Charset.
 

Uses of MemoryManager in com.sun.grizzly.memory.slab
 

Classes in com.sun.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 com.sun.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.
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.