public abstract class AtomicTask
extends java.lang.Object
| Constructor and Description | 
|---|
AtomicTask()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
commit(TaskContext tc)
Commit this task. 
 | 
protected HashStructure | 
getProperties()
Get (persistent) properties used by this task. 
 | 
protected void | 
pause()
Pause for a period of time. 
 | 
abstract void | 
perform(TaskContext tc)
Perform this task. 
 | 
abstract void | 
rollback(TaskContext tc)
Roll this task back. 
 | 
protected final void pause()
protected HashStructure getProperties()
public abstract void perform(TaskContext tc) throws TaskFailedException
TaskFailedExceptionpublic abstract void rollback(TaskContext tc) throws TaskFailedException
TaskFailedExceptionpublic void commit(TaskContext tc) throws TaskFailedException
TaskFailedException