Inheritance diagram for agents.stablestorage.StableStorageImpl:
Public Member Functions | |
boolean | saveCheckpoint (String appExecutionId, Checkpoint checkpoint) |
byte[] | retrieveCheckpoint (String appExecutionId) |
boolean | removeCheckpoint (String appExecutionId) |
Static Public Attributes | |
static final String | checkpointDir = "stablestorage/checkpoints" |
Protected Member Functions | |
void | setup () |
Private Member Functions | |
boolean | storeCheckpoint (String appExecutionId, Object checkpoint) |
Private Attributes | |
ContentManager | manager = getContentManager() |
Codec | codec = new LEAPCodec() |
Ontology | ontology = MAGOntology.getInstance() |
The StableStorageImpl it acts as a stationary agent who is responsible for storing checkpoints of the applications in execution in the grating. It stores checkpoints supplied by each requested MagAgent and also he returns checkpoints for a MagAgent for one determined application.
|
This method removes checkpoint information from the application whose Id of execution is appExecutionId
Implements agents.stablestorage.StableStorage. |
|
This method returns checkpoint information from the application whose Id of execution is appExecutionId
Implements agents.stablestorage.StableStorage. |
|
This method is responsable for save checkpoint object
Implements agents.stablestorage.StableStorage. |
|
|
|
This method storage checkpoint information. It associate the Id execution of application with checkpoint object.
|
|
|
|
|
|
|
|
|