bitronix.tm.timer
Class Task
java.lang.Object
bitronix.tm.timer.Task
- Direct Known Subclasses:
- PoolShrinkingTask, RecoveryTask, TransactionTimeoutTask
public abstract class Task
- extends Object
Asbtract superclass of all timed tasks.
- Author:
- lorban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Task
protected Task(Date executionTime,
TaskScheduler scheduler)
getExecutionTime
public Date getExecutionTime()
setExecutionTime
public void setExecutionTime(Date executionTime)
getTaskScheduler
protected TaskScheduler getTaskScheduler()
getObject
public abstract Object getObject()
execute
public abstract void execute()
throws TaskException
- Throws:
TaskException
Copyright © 2006-2011 Bitronix Software. All Rights Reserved.