T - public class DirectWaitStrategy<T> extends java.lang.Object implements WaitStrategy<T>
WaitStrategy.Offerable, WaitStrategy.Takeable<T>| Constructor and Description |
|---|
DirectWaitStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
offer(WaitStrategy.Offerable o) |
T |
take(WaitStrategy.Takeable<T> t) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdirect, exponentialBackOff, noWaitRetry, spinWait, yieldWaitpublic T take(WaitStrategy.Takeable<T> t) throws java.lang.InterruptedException
take in interface WaitStrategy<T>java.lang.InterruptedExceptionpublic boolean offer(WaitStrategy.Offerable o) throws java.lang.InterruptedException
offer in interface WaitStrategy<T>java.lang.InterruptedException