org.apache.java.lang
Class Semaphore

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

public class Semaphore
extends java.lang.Object


Field Summary
private  int allowed
           
 
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, registerNatives, toString, wait, wait, wait
 

Field Detail

allowed

private int allowed
Constructor Detail

Semaphore

public Semaphore(int limit)
Method Detail

entry

public final void entry()

exit

public final void exit()

throttle

public final void throttle()