|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.SAK.BasicCheckpointProcessor
Field Summary | |
private String |
chkptRecoverTask
|
private String |
chkptRemoveTask
|
private String |
chkptSaveTask
|
Constructor Summary | |
BasicCheckpointProcessor()
Constructs an instance of the Basic Checkpoint Processor. |
Method Summary | |
private boolean |
hasChanged(IeCollection collection)
Returns true if a collection has changed. |
Task |
recoverState(String uniqueIdentifier)
Recovers the saved state of a task. |
void |
removeState(String uniqueIdentifier)
Removes all state information that might have been saved for a task. |
private void |
resetChange(IeCollection collection)
Resets all change indications in a collection. |
void |
saveState(String uniqueIdentifier,
Task task)
Saves the state of a task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String chkptRemoveTask
private String chkptRecoverTask
private String chkptSaveTask
Constructor Detail |
public BasicCheckpointProcessor()
Method Detail |
public void saveState(String uniqueIdentifier, Task task) throws IEException
saveState
in interface CheckpointProcessor
uniqueIdentifier
- The unique identifier assigned to the task
instance whose state is being saved.task
- The task instance.
IEException
- if the state was not saved successfully.private boolean hasChanged(IeCollection collection)
collection
- The collection to check for change
private void resetChange(IeCollection collection)
collection
- The collection to resetpublic Task recoverState(String uniqueIdentifier) throws IEException
recoverState
in interface CheckpointProcessor
uniqueIdentifier
- The unique identifier assigned to the task
instance whose state is being recovered.
IEException
- if the state was not recovered successfully.public void removeState(String uniqueIdentifier) throws IEException
removeState
in interface CheckpointProcessor
uniqueIdentifier
- The unique identifier assigned to the task
instance whose saved state is being removed.
IEException
- if the state was not removed successfully.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |