Open SiteSearch 4.1.1
Final

ORG.oclc.util
Class CancellableThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ORG.oclc.util.CancellableThread
Direct Known Subclasses:
JaSSI

public class CancellableThread
extends Thread


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CancellableThread()
           
CancellableThread(Runnable r)
           
CancellableThread(Runnable r, String n)
           
CancellableThread(ThreadGroup g, Runnable r)
           
CancellableThread(ThreadGroup g, Runnable r, String n)
           
CancellableThread(ThreadGroup g, String n)
           
 
Method Summary
 void cancel()
           
static boolean cancelled()
           
 boolean isCancelled()
           
static boolean terminate(CancellableThread t, long maxWaitToDie)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancellableThread

public CancellableThread()

CancellableThread

public CancellableThread(Runnable r)

CancellableThread

public CancellableThread(ThreadGroup g,
                         Runnable r)

CancellableThread

public CancellableThread(Runnable r,
                         String n)

CancellableThread

public CancellableThread(ThreadGroup g,
                         String n)

CancellableThread

public CancellableThread(ThreadGroup g,
                         Runnable r,
                         String n)
Method Detail

cancel

public void cancel()

isCancelled

public boolean isCancelled()

cancelled

public static boolean cancelled()

terminate

public static boolean terminate(CancellableThread t,
                                long maxWaitToDie)

Open SiteSearch 4.1.1
Final