| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AncillaryDataSupport | |
| private volatile boolean | |
| private boolean | |
| private final AtomicBoolean | |
| private final boolean | |
| pack-priv final FileDescriptor | |
| private static final String | |
| private static final ObjectPool | |
| private static final int | |
| private static final int | |
| private final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv | AFCore(Object observed, FileDescriptor fd, AncillaryDataSupport ancillaryDataSupport, boolean datagramMode)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | configureVirtualBlocking(boolean
true if increment, false if decrement.Increments/decrements the "virtual blocking" counter (calls must be in pairs/balanced using try-finally blocks). |
| pack-priv void | |
| protected final void | doClean()
Implements abstract org. Performs the actual cleanup. |
| pack-priv void | |
| pack-priv ObjectPool. | Returns: A byte buffer satisfying the requested capacity.The desired capacity. capacity)Returns a per-thread reusable byte buffer for a given capacity. |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv synchronized FileDescriptor | |
| pack-priv FileDescriptor | |
| pack-priv int | |
| pack-priv int |
| ancillaryDataSupport | back to summary |
|---|---|
| pack-priv final AncillaryDataSupport ancillaryDataSupport | |
| blocking | back to summary |
|---|---|
| private volatile boolean blocking | |
| cleanFd | back to summary |
|---|---|
| private boolean cleanFd | |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| datagramMode | back to summary |
|---|---|
| private final boolean datagramMode | |
| fd | back to summary |
|---|---|
| pack-priv final FileDescriptor fd | |
| PROP_TL_BUFFER_MAX_CAPACITY | back to summary |
|---|---|
| private static final String PROP_TL_BUFFER_MAX_CAPACITY | |
| TL_BUFFER | back to summary |
|---|---|
| private static final ObjectPool<MutableHolder<ByteBuffer>> TL_BUFFER | |
| TL_BUFFER_MAX_CAPACITY | back to summary |
|---|---|
| private static final int TL_BUFFER_MAX_CAPACITY | |
| TL_BUFFER_MIN_CAPACITY | back to summary |
|---|---|
| private static final int TL_BUFFER_MIN_CAPACITY | |
| virtualBlockingLeases | back to summary |
|---|---|
| private final AtomicInteger virtualBlockingLeases | |
| AFCore | back to summary |
|---|---|
| pack-priv AFCore(Object observed, FileDescriptor fd, AncillaryDataSupport ancillaryDataSupport, boolean datagramMode) | |
| AFCore | back to summary |
|---|---|
| pack-priv AFCore(Object observed, FileDescriptor fd) | |
| configureVirtualBlocking | back to summary |
|---|---|
| pack-priv void configureVirtualBlocking(boolean enabled) throws SocketException, IOException Increments/decrements the "virtual blocking" counter (calls must be in pairs/balanced using try-finally blocks).
| |
| disableCleanFd | back to summary |
|---|---|
| pack-priv void disableCleanFd() | |
| doClean | back to summary |
|---|---|
| protected final void doClean() Implements abstract org. Doc from org. Performs the actual cleanup.
| |
| doClose | back to summary |
|---|---|
| pack-priv void doClose() throws IOException | |
| getPrivateDirectByteBuffer | back to summary |
|---|---|
| pack-priv ObjectPool. Returns a per-thread reusable byte buffer for a given capacity. If a thread-local buffer currently uses a smaller capacity, the buffer is replaced by a larger one. If the capacity exceeds a configurable maximum, a new direct buffer is allocated but not cached (i.e., the previously cached one is kept but not immediately returned to the caller).
| |
| implConfigureBlocking | back to summary |
|---|---|
| pack-priv void implConfigureBlocking(boolean block) throws IOException | |
| isBlocking | back to summary |
|---|---|
| pack-priv boolean isBlocking() | |
| isClosed | back to summary |
|---|---|
| pack-priv boolean isClosed() | |
| isVirtualBlocking | back to summary |
|---|---|
| pack-priv boolean isVirtualBlocking() | |
| read | back to summary |
|---|---|
| pack-priv int read(ByteBuffer dst, AFSupplier<Integer> timeout) throws IOException | |
| read | back to summary |
|---|---|
pack-priv int read(ByteBuffer dst, AFSupplier<Integer> timeout, ByteBuffer socketAddressBuffer, int options) throws IOException
| |
| validFd | back to summary |
|---|---|
| pack-priv synchronized FileDescriptor validFd() | |
| validFdOrException | back to summary |
|---|---|
| pack-priv FileDescriptor validFdOrException() throws SocketException | |
| write | back to summary |
|---|---|
| pack-priv int write(ByteBuffer src, AFSupplier<Integer> timeout) throws IOException | |
| write | back to summary |
|---|---|
pack-priv int write(ByteBuffer src, AFSupplier<Integer> timeout, SocketAddress target, int options) throws IOException
| |