Interface MirrorOperationStatistics
- All Superinterfaces:
IReplicationInOperation
- All Known Subinterfaces:
MirrorOperations,MirrorStatistics
- All Known Implementing Classes:
AbstractMirrorOperations,MirrorOperationsImpl,MirrorOperationStatisticsImpl,MirrorStatisticsImpl
Represents specific mirror operation statistics.
In a cluster that is active the numbers should be used as an estimation only, since statistics
gathering is concurrent. In a cluster that doesn't have any activity the numbers are accurate.
The statistics should comply to the following formula :
operationCount = successfulCount + failedCount + discardedCount + inProgressCount.
- Since:
- 7.1.1
- Author:
- anna
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the count of operations that were discarded by the mirror.longReturns the count of operations that failed on the mirrorlongReturns the count of operations that are currently in progress on the mirrorlongReturns the total count of operations that were executed on the mirrorlongReturns the count of operations that were successfully executed on the mirror
-
Method Details
-
getOperationCount
long getOperationCount()Returns the total count of operations that were executed on the mirror- Specified by:
getOperationCountin interfaceIReplicationInOperation
-
getSuccessfulOperationCount
long getSuccessfulOperationCount()Returns the count of operations that were successfully executed on the mirror- Specified by:
getSuccessfulOperationCountin interfaceIReplicationInOperation
-
getFailedOperationCount
long getFailedOperationCount()Returns the count of operations that failed on the mirror- Specified by:
getFailedOperationCountin interfaceIReplicationInOperation
-
getDiscardedOperationCount
long getDiscardedOperationCount()Returns the count of operations that were discarded by the mirror. This applies to transient objects.- Specified by:
getDiscardedOperationCountin interfaceIReplicationInOperation
-
getInProgressOperationCount
long getInProgressOperationCount()Returns the count of operations that are currently in progress on the mirror- Specified by:
getInProgressOperationCountin interfaceIReplicationInOperation
-