|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jvm.InterruptibleIOContext
public class InterruptibleIOContext
InterruptibleIOContext
is a utility class for interrupting networking calls.
Constructor Summary | |
---|---|
InterruptibleIOContext()
Create the InterruptibleIOContext Object. |
Method Summary | |
---|---|
boolean |
isBlocked()
Checks to see if the OS thread is blocked in a networking call. |
void |
register()
Associate the current OS thread with this object. |
void |
unblock()
Break the associated OS thread out of the networking call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterruptibleIOContext()
InterruptibleIOContext
Object.
Method Detail |
---|
public void register()
public boolean isBlocked()
isBlocked
in interface InterruptibleContext
true
if the OS thread is blocked false
otherwise.public void unblock()
unblock
in interface InterruptibleContext
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |