com.hazelcast.monitor
Interface LocalSemaphoreOperationStats

All Superinterfaces:
DataSerializable, LocalInstanceOperationStats, Serializable
All Known Implementing Classes:
LocalSemaphoreOperationStatsImpl

public interface LocalSemaphoreOperationStats
extends LocalInstanceOperationStats


Method Summary
 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 getNumberOfPermitsReleased()
          Returns the number of permits released.
 long getNumberOfRejectedAcquires()
          Returns the total number of acquires operations that were rejected.
 long getTotalAcquireLatency()
          Returns the total latency of put acquire in this period.
 long getTotalNonAcquireLatency()
          Returns the total latency of get operations in this period.
 
Methods inherited from interface com.hazelcast.monitor.LocalInstanceOperationStats
getPeriodEnd, getPeriodStart
 
Methods inherited from interface com.hazelcast.nio.DataSerializable
readData, writeData
 

Method Detail

getNumberOfAcquireOps

long getNumberOfAcquireOps()
Returns the total number of acquire operations.

Returns:
number of acquire operations

getNumberOfNonAcquireOps

long getNumberOfNonAcquireOps()
Returns the total number of non-acquire operations.

Returns:
number of non-acquire operations

getTotalAcquireLatency

long getTotalAcquireLatency()
Returns the total latency of put acquire in this period.

To get the average latency, divide by the number of acquire operations.

Returns:
total latency of all acquire operations

getTotalNonAcquireLatency

long getTotalNonAcquireLatency()
Returns the total latency of get operations in this period.

To get the average latency, divide by the number of non-acquire operations.

Returns:
total latency of all non-acquire operations

getNumberOfRejectedAcquires

long getNumberOfRejectedAcquires()
Returns the total number of acquires operations that were rejected.

Returns:
number of acquire operations that were rejected

getNumberOfPermitsAcquired

long getNumberOfPermitsAcquired()
Returns the number of permits acquired.

Returns:
number of permits acquired

getNumberOfPermitsReleased

long getNumberOfPermitsReleased()
Returns the number of permits released.

Returns:
number of permits released

getNumberOfAttachedPermits

long getNumberOfAttachedPermits()
Returns the number of permits attached.

Returns:
number of permits attached

getNumberOfDetachedPermits

long getNumberOfDetachedPermits()
Returns the number of permits detached.

Returns:
number of permits detached


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.