public interface IStoreCommitCompletionStatus
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.
Modifier and Type | Method and Description |
---|---|
int |
getFailedCount()
Returns the number of failed replications.
|
Map<IStoreMember,IStoreMemberReplicationStatus> |
getReplicationStatus()
Get the replication status.
|
int |
getSuccessCount()
Returns the number of successful replications.
|
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.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.