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, waitgetPeriodEnd, getPeriodStartreadData, writeDatapublic long total()
public long getNumberOfAcquireOps()
LocalSemaphoreOperationStatsgetNumberOfAcquireOps in interface LocalSemaphoreOperationStatspublic long getNumberOfNonAcquireOps()
LocalSemaphoreOperationStatsgetNumberOfNonAcquireOps in interface LocalSemaphoreOperationStatspublic long getTotalAcquireLatency()
LocalSemaphoreOperationStatsgetTotalAcquireLatency in interface LocalSemaphoreOperationStatspublic long getTotalNonAcquireLatency()
LocalSemaphoreOperationStatsgetTotalNonAcquireLatency in interface LocalSemaphoreOperationStatspublic long getNumberOfRejectedAcquires()
LocalSemaphoreOperationStatsgetNumberOfRejectedAcquires in interface LocalSemaphoreOperationStatspublic long getNumberOfPermitsAcquired()
LocalSemaphoreOperationStatsgetNumberOfPermitsAcquired in interface LocalSemaphoreOperationStatspublic long getNumberOfPermitsReduced()
public long getNumberOfPermitsReleased()
LocalSemaphoreOperationStatsgetNumberOfPermitsReleased in interface LocalSemaphoreOperationStatspublic long getNumberOfAttachedPermits()
LocalSemaphoreOperationStatsgetNumberOfAttachedPermits in interface LocalSemaphoreOperationStatspublic long getNumberOfDetachedPermits()
LocalSemaphoreOperationStatsgetNumberOfDetachedPermits in interface LocalSemaphoreOperationStatspublic final long getPeriodStart()
LocalInstanceOperationStatsgetPeriodStart in interface LocalInstanceOperationStatspublic final long getPeriodEnd()
LocalInstanceOperationStatsgetPeriodEnd in interface LocalInstanceOperationStatspublic final void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic final void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.