public static class BufferPool.Buffer extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
closed |
static BufferPool.Buffer |
POISON_PILL |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeAsUnhealthy() |
protected void |
finalize() |
void |
flip() |
byte[] |
getBuffer() |
int |
getOffset() |
int |
getRemaining() |
void |
incrementOffset(int count) |
void |
setLength(int length) |
void |
setOffset(int offset) |
public static final BufferPool.Buffer POISON_PILL
protected volatile boolean closed
public byte[] getBuffer()
public int getRemaining()
public void setLength(int length)
public int getOffset()
public void incrementOffset(int count)
public void setOffset(int offset)
public void flip()
public void closeAsUnhealthy()
public void close()
close in interface AutoCloseableCopyright © 2024 com.github.files-com. All rights reserved.