public class NonBlockingPumpReader extends NonBlockingReader
EOF, READ_EXPIRED
Constructor and Description |
---|
NonBlockingPumpReader() |
NonBlockingPumpReader(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
Writer |
getWriter() |
protected int |
read(long timeout,
boolean isPeek)
Attempts to read a character from the input stream for a specific
period of time.
|
boolean |
ready() |
public NonBlockingPumpReader()
public NonBlockingPumpReader(int bufferSize)
public Writer getWriter()
public int available()
available
in class NonBlockingReader
protected int read(long timeout, boolean isPeek) throws IOException
NonBlockingReader
read
in class NonBlockingReader
timeout
- The amount of time to wait for the characterIOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.