
public static interface BufferPipeInputStream.InputHandler
extends java.io.Closeable
BufferPipeInputStream instance.| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(Pooled<java.nio.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<java.nio.ByteBuffer> pooled) throws java.io.IOException
pooled - the pooled resource which was consumedjava.io.IOException - if an I/O error occurs sending the acknowledgementvoid close()
throws java.io.IOException
BufferPipeInputStream has called the close() method
explicitly. Any thrown exception is propagated up to the caller of NioByteInput.close().close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException - if an I/O error occursCopyright © 2010 JBoss, a division of Red Hat, Inc.