|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.RolapUtil.Semaphore
static class RolapUtil.Semaphore
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(int count)
| Method Detail |
|---|
void enter()
void leave()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||