felix.util
Class TimeOut

java.lang.Object
  extended by java.lang.Thread
      extended by felix.util.TimeOut
All Implemented Interfaces:
java.lang.Runnable

public class TimeOut
extends java.lang.Thread

Class for sleeping.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 int timeout
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TimeOut(int _timeout)
          The constructor.
 
Method Summary
 void run()
          Sleeps for the number of seconds specified in the constructor.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeout

public int timeout
Constructor Detail

TimeOut

public TimeOut(int _timeout)
The constructor.

Parameters:
_timeout -
Method Detail

run

public void run()
Sleeps for the number of seconds specified in the constructor.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread