public class Condition extends Object
UncheckedInterruptedException
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
void |
waitNoInterrruptException()
Wait until we are notified, or receive an
InterruptedException . |
void |
waitNoInterrruptException(long timeout)
Wait until we are notified, time out, or receive an
InterruptedException . |
public void waitNoInterrruptException() throws UncheckedInterruptedException
InterruptedException
.UncheckedInterruptedException
- If we receive an InterruptedException
.Object.wait()
public void waitNoInterrruptException(long timeout) throws UncheckedInterruptedException
InterruptedException
.timeout
- the maximum time to wait in milliseconds.UncheckedInterruptedException
- If we receive an InterruptedException
.Object.wait(long)
Copyright © 2000-2014. All Rights Reserved.