|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.logicblaze.lingo.util.locks.ConditionManagerImpl
public class ConditionManagerImpl
Represents a client side ConditionManager
which is used to
communicate with a possibly remote ConditionServer
Constructor Summary | |
---|---|
ConditionManagerImpl()
|
Method Summary | |
---|---|
protected ConditionClient |
createCondition(String id)
Factory method to create a new condition |
protected edu.emory.mathcs.backport.java.util.concurrent.locks.Lock |
createLock(String id)
Factory method to change a lock |
edu.emory.mathcs.backport.java.util.concurrent.locks.Condition |
getCondition(String id)
Gets the condition for the given ID lazily creating one if required. |
void |
onSignal(String id)
|
void |
onSignalAll(String id)
|
boolean |
removeCondition(String id)
Removes the condition of the given ID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionManagerImpl()
Method Detail |
---|
public edu.emory.mathcs.backport.java.util.concurrent.locks.Condition getCondition(String id)
getCondition
in interface ConnectionManager
public boolean removeCondition(String id)
removeCondition
in interface ConnectionManager
public void onSignal(String id)
onSignal
in interface ConditionListener
public void onSignalAll(String id)
onSignalAll
in interface ConditionListener
protected ConditionClient createCondition(String id)
protected edu.emory.mathcs.backport.java.util.concurrent.locks.Lock createLock(String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |