APIdia Launch Partner
Top Description Fields Constructors Methods
sun.nio.ch

pack-priv Class IOVecWrapper

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, jdk.internal.misc.TerminatingThreadLocal

Manipulates a native array of iovec structs on Solaris:
 typedef struct iovec {
    caddr_t  iov_base;
    int      iov_len;
} iovec_t;
Author
Mike McCloskey
Since
1.4

Field Summary

Modifier and TypeField and Description
pack-priv final long
pack-priv static final int
private static final int
private final ByteBuffer[]
private static final TerminatingThreadLocal<IOVecWrapper[]>
private static final int
private final int[]
private final int[]
private final ByteBuffer[]
private final int
private static final int
private final AllocatedNativeObject

Constructor Summary

AccessConstructor and Description
private
IOVecWrapper(int size)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
clearRefs(int i)

pack-priv static IOVecWrapper
get(int size)

pack-priv ByteBuffer
getBuffer(int i)

pack-priv int
getPosition(int i)

pack-priv int
getRemaining(int i)

pack-priv ByteBuffer
getShadow(int i)

pack-priv void
putBase(int i, long base)

pack-priv void
putLen(int i, long len)

pack-priv void
pack-priv void
setBuffer(int i, ByteBuffer buf, int pos, int rem)

pack-priv void
setShadow(int i, ByteBuffer buf)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addressback to summary
pack-priv final long address
addressSizeback to summary
pack-priv static final int addressSize
BASE_OFFSETback to summary
private static final int BASE_OFFSET
bufback to summary
private final ByteBuffer[] buf
IOV_CACHEback to summary
private static final TerminatingThreadLocal<IOVecWrapper[]> IOV_CACHE
LEN_OFFSETback to summary
private static final int LEN_OFFSET
positionback to summary
private final int[] position
remainingback to summary
private final int[] remaining
shadowback to summary
private final ByteBuffer[] shadow
sizeback to summary
private final int size
SIZE_IOVECback to summary
private static final int SIZE_IOVEC
vecArrayback to summary
private final AllocatedNativeObject vecArray

Constructor Detail

IOVecWrapperback to summary
private IOVecWrapper(int size)

Method Detail

clearRefsback to summary
pack-priv void clearRefs(int i)
getback to summary
pack-priv static IOVecWrapper get(int size)
getBufferback to summary
pack-priv ByteBuffer getBuffer(int i)
getPositionback to summary
pack-priv int getPosition(int i)
getRemainingback to summary
pack-priv int getRemaining(int i)
getShadowback to summary
pack-priv ByteBuffer getShadow(int i)
putBaseback to summary
pack-priv void putBase(int i, long base)
putLenback to summary
pack-priv void putLen(int i, long len)
releaseback to summary
pack-priv void release()
setBufferback to summary
pack-priv void setBuffer(int i, ByteBuffer buf, int pos, int rem)
setShadowback to summary
pack-priv void setShadow(int i, ByteBuffer buf)