@Deprecated public class IncubationBuffer extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected static ByteBuffer |
CLOSED_MARKER
Deprecated.
Constant
CLOSED_MARKER |
protected ByteBuffer |
cur
Deprecated.
|
protected IncubationQueue<ByteBuffer> |
queue
Deprecated.
|
| Constructor and Description |
|---|
IncubationBuffer()
Deprecated.
Constructor for IncubationBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Deprecated.
|
void |
close()
Deprecated.
close.
|
void |
forceClose()
Deprecated.
forceClose.
|
void |
hatch(ByteBuffer buf)
Deprecated.
Makes the byte buffer available to input stream reader.
|
void |
incubate(ByteBuffer buf)
Deprecated.
Submits a byte buffer to the use of input stream, it can only be used once
hatch(ByteBuffer) has been called for the same buffer. |
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
mark, markSupported, read, reset, skipprotected static final ByteBuffer CLOSED_MARKER
CLOSED_MARKERprotected IncubationQueue<ByteBuffer> queue
protected ByteBuffer cur
public IncubationBuffer()
Constructor for IncubationBuffer.
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
close.
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic void forceClose()
forceClose.
public void hatch(ByteBuffer buf)
public void incubate(ByteBuffer buf)
hatch(ByteBuffer) has been called for the same buffer.public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2026. All rights reserved.