Uses of Class
org.glassfish.grizzly.memory.ByteBufferWrapper

Packages that use ByteBufferWrapper
org.glassfish.grizzly.memory   
 

Uses of ByteBufferWrapper in org.glassfish.grizzly.memory
 

Subclasses of ByteBufferWrapper in org.glassfish.grizzly.memory
protected  class ByteBufferManager.SmallByteBufferWrapper
          ByteBufferWrapper implementation, which supports trimming.
 

Methods in org.glassfish.grizzly.memory that return ByteBufferWrapper
 ByteBufferWrapper ByteBufferManager.allocate(int size)
          Allocated Buffer of the required size.
 ByteBufferWrapper ByteBufferManager.allocateAtLeast(int size)
          Allocated Buffer at least of the provided size.
 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(java.nio.ByteOrder bo)
           
 ByteBufferWrapper ByteBufferWrapper.position(int newPosition)
           
 ByteBufferWrapper ByteBufferWrapper.prepend(Buffer header)
           
 ByteBufferWrapper ByteBufferWrapper.put(Buffer src)
           
 ByteBufferWrapper ByteBufferWrapper.put(Buffer src, int position, int length)
           
 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 ByteBufferManager.reallocate(ByteBufferWrapper oldBuffer, int newSize)
          Reallocate Buffer to a required size.
 ByteBufferWrapper ByteBufferWrapper.reset()
           
 ByteBufferWrapper ByteBufferWrapper.rewind()
           
 ByteBufferWrapper ByteBufferWrapper.slice()
           
 ByteBufferWrapper ByteBufferWrapper.slice(int position, int limit)
           
 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 ByteBufferManager.wrap(java.nio.ByteBuffer byteBuffer)
          Returns Buffer, which wraps the ByteBuffer.
 ByteBufferWrapper ByteBufferManager.wrap(java.lang.String s)
          Returns Buffer, which wraps the String.
 ByteBufferWrapper ByteBufferManager.wrap(java.lang.String s, java.nio.charset.Charset charset)
          Returns Buffer, which wraps the String with the specific Charset.
protected  ByteBufferWrapper ByteBufferWrapper.wrapByteBuffer(java.nio.ByteBuffer byteBuffer)
           
protected  ByteBufferWrapper ByteBufferManager.SmallByteBufferWrapper.wrapByteBuffer(java.nio.ByteBuffer byteBuffer)
           
 

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



Copyright © 2012 Oracle Corporation. All Rights Reserved.