Uses of Class
com.sun.grizzly.memory.ByteBufferWrapper

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

Uses of ByteBufferWrapper in com.sun.grizzly.memory
 

Subclasses of ByteBufferWrapper in com.sun.grizzly.memory
 class DefaultMemoryManager.TrimAwareWrapper
          ByteBufferWrapper implementation, which supports triming.
 

Methods in com.sun.grizzly.memory that return ByteBufferWrapper
 ByteBufferWrapper DefaultMemoryManager.allocate(int size)
          Allocates Buffer of required size.
 ByteBufferWrapper ByteBufferManager.allocate(int size)
          Allocated Buffer of the required size.
 ByteBufferWrapper ByteBufferViewManager.allocate(int size)
          Allocates Buffer of required size, which is actually sliced from large preallocated ByteBuffer pool.
 ByteBufferWrapper ByteBufferWrapper.asReadOnlyBuffer()
           
 ByteBufferWrapper ByteBufferWrapper.clear()
           
 ByteBufferWrapper ByteBufferWrapper.compact()
           
 ByteBufferWrapper ByteBufferWrapper.duplicate()
           
 ByteBufferWrapper ByteBufferWrapper.flip()
           
 ByteBufferWrapper ByteBufferWrapper.get(byte[] dst)
           
 ByteBufferWrapper ByteBufferWrapper.get(byte[] dst, int offset, int length)
           
 ByteBufferWrapper ByteBufferWrapper.limit(int newLimit)
           
 ByteBufferWrapper ByteBufferWrapper.mark()
           
 ByteBufferWrapper ByteBufferWrapper.order(ByteOrder bo)
           
 ByteBufferWrapper ByteBufferWrapper.position(int newPosition)
           
 ByteBufferWrapper ByteBufferWrapper.put(Buffer src)
           
 ByteBufferWrapper ByteBufferWrapper.put(byte b)
           
 ByteBufferWrapper ByteBufferWrapper.put(byte[] src)
           
 ByteBufferWrapper ByteBufferWrapper.put(byte[] src, int offset, int length)
           
 ByteBufferWrapper ByteBufferWrapper.put(int index, byte b)
           
 ByteBufferWrapper ByteBufferWrapper.putChar(char value)
           
 ByteBufferWrapper ByteBufferWrapper.putChar(int index, char value)
           
 ByteBufferWrapper ByteBufferWrapper.putDouble(double value)
           
 ByteBufferWrapper ByteBufferWrapper.putDouble(int index, double value)
           
 ByteBufferWrapper ByteBufferWrapper.putFloat(float value)
           
 ByteBufferWrapper ByteBufferWrapper.putFloat(int index, float value)
           
 ByteBufferWrapper ByteBufferWrapper.putInt(int value)
           
 ByteBufferWrapper ByteBufferWrapper.putInt(int index, int value)
           
 ByteBufferWrapper ByteBufferWrapper.putLong(int index, long value)
           
 ByteBufferWrapper ByteBufferWrapper.putLong(long value)
           
 ByteBufferWrapper ByteBufferWrapper.putShort(int index, short value)
           
 ByteBufferWrapper ByteBufferWrapper.putShort(short value)
           
 ByteBufferWrapper DefaultMemoryManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferViewManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferWrapper.reset()
           
 ByteBufferWrapper ByteBufferWrapper.rewind()
           
 ByteBufferWrapper ByteBufferWrapper.slice()
           
 ByteBufferWrapper ByteBufferManager.wrap(byte[] data)
          Returns Buffer, which wraps the byte array.
 ByteBufferWrapper ByteBufferManager.wrap(byte[] data, int offset, int length)
          Returns Buffer, which wraps the part of byte array with specific offset and length.
 ByteBufferWrapper DefaultMemoryManager.wrap(ByteBuffer byteBuffer)
           
 ByteBufferWrapper ByteBufferManager.wrap(ByteBuffer byteBuffer)
          Returns Buffer, which wraps the ByteBuffer.
 ByteBufferWrapper ByteBufferManager.wrap(String s)
          Returns Buffer, which wraps the String.
 ByteBufferWrapper ByteBufferManager.wrap(String s, Charset charset)
          Returns Buffer, which wraps the String with the specific Charset.
 

Methods in com.sun.grizzly.memory with parameters of type ByteBufferWrapper
 ByteBufferWrapper DefaultMemoryManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferViewManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 void DefaultMemoryManager.release(ByteBufferWrapper buffer)
          Release Buffer.
 void ByteBufferManager.release(ByteBufferWrapper buffer)
          Lets JVM Garbage collector to release buffer.
 

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

Subclasses of ByteBufferWrapper in com.sun.grizzly.memory.slab
 class SlabByteBufferWrapper
          The SlabByteBufferWrapper knows both the MemoryManager and the slab used to allocate it.
 

Methods in com.sun.grizzly.memory.slab that return ByteBufferWrapper
 ByteBufferWrapper SlabMemoryManagerBase.reallocate(ByteBufferWrapper oldBuffer, int newSize)
           
 

Methods in com.sun.grizzly.memory.slab with parameters of type ByteBufferWrapper
 ByteBufferWrapper SlabMemoryManagerBase.reallocate(ByteBufferWrapper oldBuffer, int newSize)
           
 void SlabMemoryManagerBase.release(ByteBufferWrapper buffer)
           
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.