Top Description Methods
org.jboss.threads

public Interface InterruptHandler


A thread interrupt handler. Called when a thread's interrupt() method is invoked. The handler should not throw an exception; otherwise user code might end up in an unexpected state.

Method Summary

Modifier and TypeMethod and Description
public void
handleInterrupt(Thread
the thread which was interrupted
thread
)

Handle an interrupt condition on the given thread.

Method Detail

handleInterruptback to summary
public void handleInterrupt(Thread thread)

Handle an interrupt condition on the given thread. This method should not throw an exception.

Parameters
thread:Thread

the thread which was interrupted