com.syncbuilder.util
Class CountingSemaphore

java.lang.Object
  |
  +--com.syncbuilder.util.CountingSemaphore

public class CountingSemaphore
extends java.lang.Object

An implementation of a counting semaphore.


Constructor Summary
CountingSemaphore(int maxcapacity)
           
CountingSemaphore(int capacity, int maxcapacity)
           
 
Method Summary
 boolean load()
           
 boolean unload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountingSemaphore

public CountingSemaphore(int capacity,
                         int maxcapacity)

CountingSemaphore

public CountingSemaphore(int maxcapacity)
Method Detail

load

public boolean load()

unload

public boolean unload()


This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.