|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreCommitCompletionStatus
Represents the completion status of an ODS store commit operation.
This interface provides the user with access to the completion status of
a commit operation. The ODS runtime sets the commit completion status
in the commit completion event before notifying the user of the completion
of a commit (see IStoreBinding.commit(long, long, com.neeve.ods.IStoreObject[], int, com.neeve.ods.IStoreCommitCompletionEvent, int)
)
A commit completion status object essentially contains the replication status for each member involved in the commit process.
Method Summary | |
---|---|
int |
getFailedCount()
Returns the number of failed replications. |
Map<IStoreMember,IStoreMemberReplicationStatus> |
getReplicationStatus()
Get the replication status. |
int |
getSuccessCount()
Returns the number of successful replications. |
Method Detail |
---|
int getSuccessCount()
This method returns the number of members to which the commit succesfully replicated the changes.
int getFailedCount()
This method returns the number of members to which the commit failed to replicate the changes. The user can get the cause of failure for each member from the replication status object (@link {getReplicationStatus}).
Map<IStoreMember,IStoreMemberReplicationStatus> getReplicationStatus()
This method returns the replication status to each of the store members that were part of the commit process.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |