BRUtil - Making Java a Kinder, Gentler, Place to be.

brutil
Class Mutex

java.lang.Object
  |
  +--brutil.Mutex

public class Mutex
extends java.lang.Object


Field Summary
protected  long MAX_PERMITS
           
protected  long permits
           
 
Constructor Summary
Mutex()
           
 
Method Summary
 void acquire()
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

permits

protected long permits

MAX_PERMITS

protected final long MAX_PERMITS
Constructor Detail

Mutex

public Mutex()
Method Detail

release

public void release()

acquire

public void acquire()


BRUtil - Making Java a Kinder, Gentler, Place to be.