com.ibm.jvm

Class InterruptibleLockContext

  1. java.lang.Object
  2. extended bycom.ibm.jvm.InterruptibleLockContext
All implemented interfaces:
InterruptibleContext

  1. public class InterruptibleLockContext
  2. extends java.lang.Object
  3. implements InterruptibleContext
InterruptibleLockContext is a utility class for interrupting synchronization calls.

Constructor Summary

Constructor and Description
InterruptibleLockContext()
Create the InterruptibleLockContext Object and associate the current OS thread with this object.

Method Summary

Modifier and Type Method and Description
  1. boolean
isBlocked()
Checks to see if the OS thread is blocked in a synchronization call.
  1. 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

InterruptibleLockContext

  1. public InterruptibleLockContext( )
Create the InterruptibleLockContext Object and associate the current OS thread with this object.

Method Detail

isBlocked

  1. public boolean isBlocked()
Checks to see if the OS thread is blocked in a synchronization call.
Specified by:
Returns:
true if the OS thread is blocked false otherwise.

unblock

  1. public void unblock()
Break the OS thread out of the synchronization call.
Specified by: