Package org.apache.mina.util.byteaccess
Class ByteArrayPool.DirectBufferByteArray
- java.lang.Object
-
- org.apache.mina.util.byteaccess.AbstractByteArray
-
- org.apache.mina.util.byteaccess.BufferByteArray
-
- org.apache.mina.util.byteaccess.ByteArrayPool.DirectBufferByteArray
-
- All Implemented Interfaces:
ByteArray,IoAbsoluteReader,IoAbsoluteWriter
- Enclosing class:
- ByteArrayPool
private class ByteArrayPool.DirectBufferByteArray extends BufferByteArray
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.mina.util.byteaccess.ByteArray
ByteArray.Cursor
-
-
Field Summary
Fields Modifier and Type Field Description private booleanfreed-
Fields inherited from class org.apache.mina.util.byteaccess.BufferByteArray
bb
-
-
Constructor Summary
Constructors Constructor Description DirectBufferByteArray(IoBuffer bb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfree()Remove any resources associated with this object.voidsetFreed(boolean freed)-
Methods inherited from class org.apache.mina.util.byteaccess.BufferByteArray
cursor, cursor, first, get, get, getChar, getDouble, getFloat, getInt, getIoBuffers, getLong, getShort, getSingleIoBuffer, hashCode, last, order, order, put, put, putChar, putDouble, putFloat, putInt, putLong, putShort, slice
-
Methods inherited from class org.apache.mina.util.byteaccess.AbstractByteArray
equals, length
-
-
-
-
Constructor Detail
-
DirectBufferByteArray
public DirectBufferByteArray(IoBuffer bb)
-
-
Method Detail
-
setFreed
public void setFreed(boolean freed)
-
free
public void free()
Description copied from interface:ByteArrayRemove any resources associated with this object. Using the object after this method is called may result in undefined behaviour.
-
-