com.hazelcast.impl.monitor
Class SemaphoreOperationsCounter

java.lang.Object
  extended by com.hazelcast.impl.monitor.SemaphoreOperationsCounter

public class SemaphoreOperationsCounter
extends Object


Constructor Summary
SemaphoreOperationsCounter()
           
SemaphoreOperationsCounter(long interval)
           
 
Method Summary
 T getPublishedStats()
           
 void incrementAcquires(long elapsed, int permits, boolean attached)
           
 void incrementModified(long elapsed)
           
 void incrementNonAcquires(long elapsed, int attachedDelta)
           
 void incrementNonModified(long elapsed)
           
 void incrementPermitsReduced(long elapsed, int reduction)
           
 void incrementRejectedAcquires(long elapsed)
           
 void incrementReleases(long elapsed, int permits, boolean detached)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemaphoreOperationsCounter

public SemaphoreOperationsCounter()

SemaphoreOperationsCounter

public SemaphoreOperationsCounter(long interval)
Method Detail

incrementModified

public void incrementModified(long elapsed)

incrementNonModified

public void incrementNonModified(long elapsed)

incrementAcquires

public void incrementAcquires(long elapsed,
                              int permits,
                              boolean attached)

incrementRejectedAcquires

public void incrementRejectedAcquires(long elapsed)

incrementReleases

public void incrementReleases(long elapsed,
                              int permits,
                              boolean detached)

incrementNonAcquires

public void incrementNonAcquires(long elapsed,
                                 int attachedDelta)

incrementPermitsReduced

public void incrementPermitsReduced(long elapsed,
                                    int reduction)

getPublishedStats

public final T getPublishedStats()


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