|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jvm.InterruptibleLockContext
public class InterruptibleLockContext
InterruptibleLockContext
is a utility class for interrupting synchronization calls.
Constructor Summary | |
---|---|
InterruptibleLockContext()
Create the InterruptibleLockContext Object and associate the current
OS thread with this object. |
Method Summary | |
---|---|
boolean |
isBlocked()
Checks to see if the OS thread is blocked in a synchronization call. |
void |
unblock()
Break the OS thread out of the synchronization call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterruptibleLockContext()
InterruptibleLockContext
Object and associate the current
OS thread with this object.
Method Detail |
---|
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 |