Class AbstractMirrorOperations
java.lang.Object
com.gigaspaces.cluster.replication.async.mirror.AbstractMirrorOperations
- All Implemented Interfaces:
MirrorOperations,MirrorOperationStatistics,IReplicationInOperation,IReplicationInOperations<MirrorOperationStatistics>
- Direct Known Subclasses:
MirrorOperationsImpl,MirrorStatisticsImpl
Abstract class for
MirrorOperations implementations. Implements the operation statistics
aggregation.- Since:
- 7.1.1
- Author:
- anna
-
Constructor Summary
Constructors -
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 mirrortoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.cluster.replication.async.mirror.MirrorOperations
getChangeOperationStatistics, getRemoveOperationStatistics, getUpdateOperationStatistics, getWriteOperationStatistics
-
Constructor Details
-
AbstractMirrorOperations
public AbstractMirrorOperations()
-
-
Method Details
-
toString
-
getDiscardedOperationCount
public long getDiscardedOperationCount()Description copied from interface:MirrorOperationStatisticsReturns the count of operations that were discarded by the mirror. This applies to transient objects.- Specified by:
getDiscardedOperationCountin interfaceIReplicationInOperation- Specified by:
getDiscardedOperationCountin interfaceMirrorOperationStatistics
-
getFailedOperationCount
public long getFailedOperationCount()Description copied from interface:MirrorOperationStatisticsReturns the count of operations that failed on the mirror- Specified by:
getFailedOperationCountin interfaceIReplicationInOperation- Specified by:
getFailedOperationCountin interfaceMirrorOperationStatistics
-
getOperationCount
public long getOperationCount()Description copied from interface:MirrorOperationStatisticsReturns the total count of operations that were executed on the mirror- Specified by:
getOperationCountin interfaceIReplicationInOperation- Specified by:
getOperationCountin interfaceMirrorOperationStatistics
-
getSuccessfulOperationCount
public long getSuccessfulOperationCount()Description copied from interface:MirrorOperationStatisticsReturns the count of operations that were successfully executed on the mirror- Specified by:
getSuccessfulOperationCountin interfaceIReplicationInOperation- Specified by:
getSuccessfulOperationCountin interfaceMirrorOperationStatistics
-
getInProgressOperationCount
public long getInProgressOperationCount()Description copied from interface:MirrorOperationStatisticsReturns the count of operations that are currently in progress on the mirror- Specified by:
getInProgressOperationCountin interfaceIReplicationInOperation- Specified by:
getInProgressOperationCountin interfaceMirrorOperationStatistics
-