test
Class TimeOut

java.lang.Object
  extended by test.TimeOut

public class TimeOut
extends java.lang.Object


Constructor Summary
TimeOut()
           
 
Method Summary
 void doWork()
           
 void doWorkWithTimeout(int timeoutSecs)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeOut

public TimeOut()
Method Detail

doWork

public void doWork()

doWorkWithTimeout

public void doWorkWithTimeout(int timeoutSecs)

main

public static void main(java.lang.String[] args)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException