org.apache.qpid.server.util
Class TimedRun
java.lang.Object
org.apache.qpid.server.util.TimedRun
- All Implemented Interfaces:
- Callable<Long>
public abstract class TimedRun
- extends Object
- implements Callable<Long>
TimedRun
public TimedRun(String description)
call
public Long call()
throws Exception
- Specified by:
call
in interface Callable<Long>
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
setup
protected void setup()
throws Exception
- Throws:
Exception
teardown
protected void teardown()
throws Exception
- Throws:
Exception
run
protected abstract void run()
throws Exception
- Throws:
Exception
Licensed to the Apache Software Foundation