|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.concurrent.CountDownBarrier
public class CountDownBarrier
| Constructor Summary | |
|---|---|
CountDownBarrier()
Creates a new set-reset barrier with a default "reset" state. |
|
CountDownBarrier(int initialCount)
Creates a new set-reset barrier with the given initial state. |
|
| Method Summary | |
|---|---|
void |
countDown()
|
void |
countUp()
|
IWaitToken |
getResetToken()
Returns the wait token for the "reset" state. |
IWaitToken |
getSetToken()
Returns the wait token for the "set" state. |
boolean |
isSet()
Return true if the state is "set", false if the state is "reset". |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CountDownBarrier()
public CountDownBarrier(int initialCount)
initialCount - the initial count of the barrier| Method Detail |
|---|
public void countUp()
public void countDown()
public boolean isSet()
public IWaitToken getSetToken()
public IWaitToken getResetToken()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||