|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.backtrack.CheckpointState
public class CheckpointState
The current state of a checkpoint object. A checkpoint object stores its complete state in its CheckpointState object. Different checkpoint objects may share the same state, and hence they represent the same checkpoint entity.
When two checkpoint objects are merged, they exchange their states and compute the union of the two.
Red (tfeng) |
Red (tfeng) |
Field Summary | |
---|---|
private static long |
_currentTimestamp
The current timestamp. |
private java.util.List<Rollbackable> |
_monitoredObjects
The list of objects monitored by the checkpoint object. |
Constructor Summary | |
---|---|
CheckpointState()
|
Method Summary | |
---|---|
long |
createCheckpoint()
Create a new checkpoint, and return the new timestamp. |
java.util.List<Rollbackable> |
getMonitoredObjects()
Get the list of all the monitored objects. |
long |
getTimestamp()
Get the current timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static long _currentTimestamp
private java.util.List<Rollbackable> _monitoredObjects
Constructor Detail |
---|
public CheckpointState()
Method Detail |
---|
public long createCheckpoint()
public java.util.List<Rollbackable> getMonitoredObjects()
public long getTimestamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |