com.caucho.env.meter
Interface SemaphoreSensor

All Known Implementing Classes:
SemaphoreMeter

public interface SemaphoreSensor

SemaphoreSample tracks resource allocations from a pool.


Method Summary
 void acquire()
          Acquire a resource from the semaphore.
 void release()
          Free a resource
 

Method Detail

acquire

void acquire()
Acquire a resource from the semaphore.


release

void release()
Free a resource