|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.body.ft.checkpointing.Checkpoint
This class defines a checkpoint object. A checkpoint is used for recovering a failed active object by being sent to a free ProActive runtime. A checkpoint contains a serialized copy of the owner. It is identified by an index and the id of the owner.
Constructor Summary | |
Checkpoint(Body bodyToCheckpoint,
int index,
java.lang.String additionalCodebase)
Create a checkpoint. |
Method Summary | |
UniqueID |
getBodyID()
|
CheckpointInfo |
getCheckpointInfo()
|
int |
getIndex()
|
Body |
recover()
Recovers an active object from this checkpoint. |
void |
setBodyID(UniqueID uniqueID)
|
void |
setCheckpointInfo(CheckpointInfo ci)
|
void |
setIndex(int index)
|
java.lang.String |
toString()
Pretty printing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Checkpoint(Body bodyToCheckpoint, int index, java.lang.String additionalCodebase)
bodyToCheckpoint
- the body that have to be checkpointedindex
- the index of the checkpointadditionalCodebase
- the URL of the CheckpointServer classserverMethod Detail |
public UniqueID getBodyID()
public void setBodyID(UniqueID uniqueID)
public int getIndex()
public void setIndex(int index)
public void setCheckpointInfo(CheckpointInfo ci)
public CheckpointInfo getCheckpointInfo()
public Body recover()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |