public class LocalCountDownLatchOperationStatsImpl extends Object implements LocalCountDownLatchOperationStats
Constructor and Description |
---|
LocalCountDownLatchOperationStatsImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getNumberOfAwaits()
Returns the number of await operations in this period.
|
long |
getNumberOfAwaitsReleased()
Returns the number of awaits released in this period from gate
openings.
|
long |
getNumberOfCountDowns()
Returns the number of countDown operations in this period.
|
long |
getNumberOfGatesOpened()
Returns the number of times the count reached zero from a countdown
operation in this period.
|
long |
getNumberOfOthers()
Returns the number of operations other than await or countDown
in this period.
|
long |
getPeriodEnd()
Gets the end time of the period in milliseconds.
|
long |
getPeriodStart()
Gets the start time of the period in milliseconds.
|
long |
getTotalAwaitLatency()
Returns the total latency of await operations in this period.
|
long |
getTotalCountDownLatency()
Returns the total latency of countdown operations in this period.
|
long |
getTotalOtherLatency()
Returns the total latency of operations other than await or
countdown in this period.
|
void |
readData(DataInput in) |
String |
toString() |
long |
total() |
void |
writeData(DataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPeriodEnd, getPeriodStart
readData, writeData
public LocalCountDownLatchOperationStatsImpl()
public long total()
public long getNumberOfAwaits()
LocalCountDownLatchOperationStats
getNumberOfAwaits
in interface LocalCountDownLatchOperationStats
public long getNumberOfCountDowns()
LocalCountDownLatchOperationStats
getNumberOfCountDowns
in interface LocalCountDownLatchOperationStats
public long getNumberOfOthers()
LocalCountDownLatchOperationStats
getNumberOfOthers
in interface LocalCountDownLatchOperationStats
public long getTotalAwaitLatency()
LocalCountDownLatchOperationStats
To get the average latency, divide by the number of awaits.
getTotalAwaitLatency
in interface LocalCountDownLatchOperationStats
public long getTotalCountDownLatency()
LocalCountDownLatchOperationStats
To get the average latency, divide by the number of countdowns.
getTotalCountDownLatency
in interface LocalCountDownLatchOperationStats
public long getTotalOtherLatency()
LocalCountDownLatchOperationStats
To get the average latency, divide by the number of others.
getTotalOtherLatency
in interface LocalCountDownLatchOperationStats
public long getNumberOfAwaitsReleased()
LocalCountDownLatchOperationStats
getNumberOfAwaitsReleased
in interface LocalCountDownLatchOperationStats
public long getNumberOfGatesOpened()
LocalCountDownLatchOperationStats
getNumberOfGatesOpened
in interface LocalCountDownLatchOperationStats
public final long getPeriodStart()
LocalInstanceOperationStats
getPeriodStart
in interface LocalInstanceOperationStats
public final long getPeriodEnd()
LocalInstanceOperationStats
getPeriodEnd
in interface LocalInstanceOperationStats
public final void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public final void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.