cz.cuni.amis.utils
Class Run.TimerTaskExt
java.lang.Object
java.util.TimerTask
cz.cuni.amis.utils.Run.TimerTaskExt
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- Run
public static class Run.TimerTaskExt
- extends TimerTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Run.TimerTaskExt
public Run.TimerTaskExt(String name,
Runnable runnable)
getName
public String getName()
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
getState
public Run.TimerTaskState getState()
getException
public Throwable getException()
isState
public boolean isState(Run.TimerTaskState state)
isScheduled
public boolean isScheduled()
isRunning
public boolean isRunning()
isSuccess
public boolean isSuccess()
isException
public boolean isException()
isCancelled
public boolean isCancelled()
cancel
public boolean cancel()
- Overrides:
cancel
in class TimerTask
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.