|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ideimpl.webupdate.task.AtomicTask
public abstract class AtomicTask
An atomic task is a discrete operation during installation of an update that can be rolled back. A given instance of the task will store any necessary information it needs to rollback.
Constructor Summary | |
---|---|
AtomicTask() |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtomicTask()
Method Detail |
---|
protected final void pause()
protected HashStructure getProperties()
public abstract void perform(TaskContext tc) throws TaskFailedException
TaskFailedException
public abstract void rollback(TaskContext tc) throws TaskFailedException
TaskFailedException
public void commit(TaskContext tc) throws TaskFailedException
TaskFailedException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |