public static interface BufferPipeInputStream.InputHandler extends Closeable
BufferPipeInputStream
instance.Modifier and Type | Method and Description |
---|---|
void |
acknowledge(Pooled<ByteBuffer> pooled)
Acknowledges the successful processing of an input buffer.
|
void |
close()
Signifies that the user of the enclosing
BufferPipeInputStream has called the close() method
explicitly. |
void acknowledge(Pooled<ByteBuffer> pooled) throws IOException
pooled
- the pooled resource which was consumedIOException
- if an I/O error occurs sending the acknowledgementvoid close() throws IOException
BufferPipeInputStream
has called the close()
method
explicitly. Any thrown exception is propagated up to the caller of NioByteInput.close()
.close
in interface AutoCloseable
close
in interface Closeable
IOException
- if an I/O error occursCopyright © 2019 JBoss by Red Hat. All rights reserved.