Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members

agents.stablestorage.StableStorage Interface Reference

Inherited by agents.stablestorage.StableStorageImpl.

Inheritance diagram for agents.stablestorage.StableStorage:

[legend]
List of all members.

Public Member Functions

boolean saveCheckpoint (String appExecutionId, Checkpoint checkpoint)
byte[] retrieveCheckpoint (String appExecutionId)
boolean removeCheckpoint (String appExecutionId)

Static Public Attributes

static final String STABLE_STORAGE_NAME = "stable-storage"

Detailed Description

Class StableStorage - A StableStorage interface

Represents the StableStorage interface and its public operations

Author:
Bysmarck Barros de Sousa


Member Function Documentation

boolean agents.stablestorage.StableStorage.removeCheckpoint String  appExecutionId  ) 
 

This method removes checkpoint information from the application whose execution id is appExecutionId

Parameters:
appExecutionId the execution id
Returns:
boolean true if success, otherwise false

Implemented in agents.stablestorage.StableStorageImpl.

byte [] agents.stablestorage.StableStorage.retrieveCheckpoint String  appExecutionId  ) 
 

This method returns checkpoint information from the application whose Id of execution is appExecutionId

Parameters:
appExecutionId the execution id
Returns:
the checkpoint object as a byte array

Implemented in agents.stablestorage.StableStorageImpl.

boolean agents.stablestorage.StableStorage.saveCheckpoint String  appExecutionId,
Checkpoint  checkpoint
 

This method is responsable for save checkpoint object

Parameters:
appExecutionId application execution id
checkpoint the object (as a byte array) that contains the checkpoint information
Returns:
boolean true if success, otherwise false

Implemented in agents.stablestorage.StableStorageImpl.


Member Data Documentation

final String agents.stablestorage.StableStorage.STABLE_STORAGE_NAME = "stable-storage" [static]
 


The documentation for this interface was generated from the following file:
Generated on Fri Feb 17 09:37:57 2006 for MAG by  doxygen 1.4.4