com.hazelcast.impl.monitor
Class LocalAtomicNumberOperationStatsImpl
java.lang.Object
com.hazelcast.impl.monitor.LocalAtomicNumberOperationStatsImpl
- All Implemented Interfaces:
- LocalAtomicNumberOperationStats, LocalInstanceOperationStats, DataSerializable, Serializable
public class LocalAtomicNumberOperationStatsImpl
- extends Object
- implements LocalAtomicNumberOperationStats
- See Also:
- Serialized Form
LocalAtomicNumberOperationStatsImpl
public LocalAtomicNumberOperationStatsImpl()
total
public long total()
getNumberOfModifyOps
public long getNumberOfModifyOps()
- Description copied from interface:
LocalAtomicNumberOperationStats
- Returns the number of operations that modified the stored atomic value.
- Specified by:
getNumberOfModifyOps
in interface LocalAtomicNumberOperationStats
- Returns:
- number of modified operations
getNumberOfNonModifyOps
public long getNumberOfNonModifyOps()
- Description copied from interface:
LocalAtomicNumberOperationStats
- Returns the number of operations that did not modify the stored atomic value.
- Specified by:
getNumberOfNonModifyOps
in interface LocalAtomicNumberOperationStats
- Returns:
- number of non-modified operations
getTotalAcquireLatency
public long getTotalAcquireLatency()
getTotalNonAcquireLatency
public long getTotalNonAcquireLatency()
toString
public String toString()
- Overrides:
toString
in class Object
getPeriodStart
public final long getPeriodStart()
- Description copied from interface:
LocalInstanceOperationStats
- Gets the start time of the period in milliseconds.
- Specified by:
getPeriodStart
in interface LocalInstanceOperationStats
- Returns:
- start time in milliseconds.
getPeriodEnd
public final long getPeriodEnd()
- Description copied from interface:
LocalInstanceOperationStats
- Gets the end time of the period in milliseconds.
- Specified by:
getPeriodEnd
in interface LocalInstanceOperationStats
- Returns:
- end time in milliseconds.
writeData
public final void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public final void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.