public class LocalSemaphoreOperationStatsImpl extends Object implements LocalSemaphoreOperationStats
Constructor and Description |
---|
LocalSemaphoreOperationStatsImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getNumberOfAcquireOps()
Returns the total number of acquire operations.
|
long |
getNumberOfAttachedPermits()
Returns the number of permits attached.
|
long |
getNumberOfDetachedPermits()
Returns the number of permits detached.
|
long |
getNumberOfNonAcquireOps()
Returns the total number of non-acquire operations.
|
long |
getNumberOfPermitsAcquired()
Returns the number of permits acquired.
|
long |
getNumberOfPermitsReduced() |
long |
getNumberOfPermitsReleased()
Returns the number of permits released.
|
long |
getNumberOfRejectedAcquires()
Returns the total number of acquires operations that were
rejected.
|
long |
getPeriodEnd()
Gets the end time of the period in milliseconds.
|
long |
getPeriodStart()
Gets the start time of the period in milliseconds.
|
long |
getTotalAcquireLatency()
Returns the total latency of put acquire in this period.
|
long |
getTotalNonAcquireLatency()
Returns the total latency of get operations 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 long total()
public long getNumberOfAcquireOps()
LocalSemaphoreOperationStats
getNumberOfAcquireOps
in interface LocalSemaphoreOperationStats
public long getNumberOfNonAcquireOps()
LocalSemaphoreOperationStats
getNumberOfNonAcquireOps
in interface LocalSemaphoreOperationStats
public long getTotalAcquireLatency()
LocalSemaphoreOperationStats
getTotalAcquireLatency
in interface LocalSemaphoreOperationStats
public long getTotalNonAcquireLatency()
LocalSemaphoreOperationStats
getTotalNonAcquireLatency
in interface LocalSemaphoreOperationStats
public long getNumberOfRejectedAcquires()
LocalSemaphoreOperationStats
getNumberOfRejectedAcquires
in interface LocalSemaphoreOperationStats
public long getNumberOfPermitsAcquired()
LocalSemaphoreOperationStats
getNumberOfPermitsAcquired
in interface LocalSemaphoreOperationStats
public long getNumberOfPermitsReduced()
public long getNumberOfPermitsReleased()
LocalSemaphoreOperationStats
getNumberOfPermitsReleased
in interface LocalSemaphoreOperationStats
public long getNumberOfAttachedPermits()
LocalSemaphoreOperationStats
getNumberOfAttachedPermits
in interface LocalSemaphoreOperationStats
public long getNumberOfDetachedPermits()
LocalSemaphoreOperationStats
getNumberOfDetachedPermits
in interface LocalSemaphoreOperationStats
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.