boolean
indicating whether or not this Reader is ready to be read without blocking. If the result is true
, the next read()
will not block. If the result is false
this Reader may or may not block when read()
is sent.
@return true
if the receiver will not block whenread()
is called, false
if unknown or blocking will occur.
@throws IOException If the BufferedReader is already closed or some other IO error occurs.
boolean
indicating whether or not this InputStreamReader is ready to be read without blocking. If the result is true
, the next read()
will not block. If the result is false
this Reader may or may not block when read()
is sent. This implementation answers true
if there are bytes available in the buffer or the source InputStream has bytes available.
@return true
if the receiver will not block whenread()
is called, false
if unknown or blocking will occur.
@throws IOException If the InputStreamReader is already closed or some other IO error occurs.
boolean
indicating whether or not this Reader is ready to be read without blocking. If the result is true
, the next read()
will not block. If the result is false
this Reader may or may not block when read()
is sent.
@return true
if the receiver will not block whenread()
is called, false
if unknown or blocking will occur.
@throws IOException If the Reader is already closed or some other IO error occurs.
receive()
. If true
, a call to receive()
will not block the application.
@see #receive
@return true
if there is data to read; false
if there is no data to read
@exception IOException if the connection is closed
A destination node is ready to send data if ANY one of its partition is not backing off the send and ANY of the following are true :
true
if the next read() is guaranteed not to blockfor input, false
otherwise. Note that returning false does not guarantee that the next read will block.
@exception IOException If an I/O error occurs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|