org.apache.java.lang
Class Semaphore

java.lang.Object
  |
  +--org.apache.java.lang.Semaphore

public class Semaphore
extends java.lang.Object


Constructor Summary
Semaphore(int limit)
           
 
Method Summary
 void entry()
           
 void exit()
           
 void throttle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Semaphore

public Semaphore(int limit)
Method Detail

entry

public final void entry()

exit

public final void exit()

throttle

public final void throttle()