|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.io.IOBuffer
com.neeve.pkt.PktIOBuffer
IOBuffer instead.
@Deprecated public final class PktIOBuffer
Implements an IO buffer.
A packet IO buffer is essentially a poolable ByteBuffer. It
serves as the unit for IO (network or otherwise). A packet buffers
(PktBuffer) serves as window into an IO buffer. The window
spans the contents of the packet header or body that the packet
buffer backs.
ByteBuffer object, a packet buffer
is not thread safe i.e. only one thread can be executing the packet buffer
methods at any point in time.| Field Summary |
|---|
| Fields inherited from class com.neeve.io.IOBuffer |
|---|
DISABLE_NATIVE_BUFFERS |
| Method Summary | |
|---|---|
static PktIOBuffer |
create(int length,
boolean isNative)
Deprecated. Since 1.9. Use IOBuffer instead. |
static PktIOBuffer |
createNative(int length)
Deprecated. Since 1.9. Use IOBuffer instead. |
| Methods inherited from class com.neeve.io.IOBuffer |
|---|
acquire, adjustHighwater, create, createNative, dispose, getBuffer, getBufferUnsafe, getCapacity, getHighwater, getLength, getOwnerCount, getPool, init, isNative, isNativeXIOBufferEnabled, isSingleMasterDirectBufferEnabled, numSlabs, referenceTracker, releaseBuffer, setByteOrder, setNoWipe, setPool, slab, smallestSlabSize, takeBuffer, toString, wrap |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
@Deprecated
public static PktIOBuffer create(int length,
boolean isNative)
IOBuffer instead.
length - The length of the buffer to create.isNative - Whether to create a buffer with native or heap storage.
@Deprecated public static PktIOBuffer createNative(int length)
IOBuffer instead.
length - The length of the buffer to create.
This method creates a native buffer regardless of whether or not
IOBuffer.DISABLE_NATIVE_BUFFERS is true. This method should
only be used in cases where a native buffer is an absolute necessity,
e.g. when working with native code that requires such a buffer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||