mondrian.rolap
Class RolapUtil.Semaphore

java.lang.Object
  extended by mondrian.rolap.RolapUtil.Semaphore
Enclosing class:
RolapUtil

static class RolapUtil.Semaphore
extends Object

A Semaphore is a primitive for process synchronization.

Given a semaphore initialized with count, no more than count threads can acquire the semaphore using the enter() method. Waiting threads block until enough threads have called leave().

 

Constructor Summary
RolapUtil.Semaphore(int count)
           
 
Method Summary
(package private)  void enter()
           
(package private)  void leave()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolapUtil.Semaphore

RolapUtil.Semaphore(int count)
Method Detail

enter

void enter()

leave

void leave()

SourceForge.net_Logo