com.ibm.jvm

Class InterruptibleIOContext

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

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

Constructor Summary

Constructor and Description
InterruptibleIOContext()
Create the InterruptibleIOContext Object.

Method Summary

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

InterruptibleIOContext

  1. public InterruptibleIOContext()
Create the InterruptibleIOContext Object.

Method Detail

isBlocked

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

unblock

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