public class MirrorOperationStatisticsImpl extends Object implements Externalizable, MirrorOperationStatistics
Constructor and Description |
---|
MirrorOperationStatisticsImpl()
Required for Externalizable
|
Modifier and Type | Method and Description |
---|---|
void |
add(MirrorOperationStatistics operationStatistics) |
long |
getDiscardedOperationCount()
Returns the count of operations that were discarded by the mirror.
|
long |
getFailedOperationCount()
Returns the count of operations that failed on the mirror
|
long |
getInProgressOperationCount()
Returns the count of operations that are currently in progress on the mirror
|
long |
getOperationCount()
Returns the total count of operations that were executed on the mirror
|
long |
getSuccessfulOperationCount()
Returns the count of operations that were successfully executed on the mirror
|
void |
incrementDiscardedOperationCount() |
void |
incrementFailedOperationCount() |
void |
incrementOperationCount() |
void |
incrementSuccessfulOperationCount() |
void |
readExternal(ObjectInput in) |
void |
register(MetricRegistrator registrator,
String prefix) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public MirrorOperationStatisticsImpl()
public long getOperationCount()
MirrorOperationStatistics
getOperationCount
in interface MirrorOperationStatistics
getOperationCount
in interface IReplicationInOperation
public long getSuccessfulOperationCount()
MirrorOperationStatistics
getSuccessfulOperationCount
in interface MirrorOperationStatistics
getSuccessfulOperationCount
in interface IReplicationInOperation
public long getFailedOperationCount()
MirrorOperationStatistics
getFailedOperationCount
in interface MirrorOperationStatistics
getFailedOperationCount
in interface IReplicationInOperation
public long getDiscardedOperationCount()
MirrorOperationStatistics
getDiscardedOperationCount
in interface MirrorOperationStatistics
getDiscardedOperationCount
in interface IReplicationInOperation
public long getInProgressOperationCount()
MirrorOperationStatistics
getInProgressOperationCount
in interface MirrorOperationStatistics
getInProgressOperationCount
in interface IReplicationInOperation
public void incrementOperationCount()
public void incrementSuccessfulOperationCount()
public void incrementFailedOperationCount()
public void incrementDiscardedOperationCount()
public void add(MirrorOperationStatistics operationStatistics)
public void register(MetricRegistrator registrator, String prefix)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.