Package org.teiid.jdbc
Class EnhancedTimer.Task
- java.lang.Object
-
- java.util.concurrent.FutureTask<Void>
-
- org.teiid.jdbc.EnhancedTimer.Task
-
- All Implemented Interfaces:
Comparable<EnhancedTimer.Task>
,Runnable
,Future<Void>
,RunnableFuture<Void>
- Enclosing class:
- EnhancedTimer
public class EnhancedTimer.Task extends FutureTask<Void> implements Comparable<EnhancedTimer.Task>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
boolean
cancel(boolean mayInterruptIfRunning)
int
compareTo(EnhancedTimer.Task o)
-
Methods inherited from class java.util.concurrent.FutureTask
done, get, get, isCancelled, isDone, run, runAndReset, set, setException
-
-
-
-
Constructor Detail
-
Task
public Task(Runnable task, long delay)
-
-
Method Detail
-
compareTo
public int compareTo(EnhancedTimer.Task o)
- Specified by:
compareTo
in interfaceComparable<EnhancedTimer.Task>
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
cancel
public void cancel()
-
-