    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class com.bitmechanic.util.JavaAlarm

    com.bitmechanic.util.JavaAlarm

public class JavaAlarm

Provides a way to run a Runnable object with a timer. If the run() method does not return before timeout elapses, a TimeoutException is thrown. otherwise the constructor returns normally.

##

JavaAlarm(Runnable, long)

##

run()

##

JavaAlarm

     public JavaAlarm(Runnable r,
                      long timeout) throws TimeoutException

##

run

     public void run()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index