public class Condition extends Object
| Constructor and Description |
|---|
Condition(net.anwiba.commons.logging.ILogger logger,
boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue() |
void |
releaseAll() |
void |
releaseOne() |
void |
setFalse() |
void |
setTrue() |
void |
waitForTrue() |
void |
waitForTrue(long timeout) |
public Condition(net.anwiba.commons.logging.ILogger logger,
boolean value)
public boolean isTrue()
public void setFalse()
public void setTrue()
public void releaseAll()
public void releaseOne()
public void waitForTrue(long timeout)
throws InterruptedException
InterruptedExceptionpublic void waitForTrue()
throws InterruptedException
InterruptedExceptionCopyright © 2007–2017 Andreas Bartels. All rights reserved.