public interface WaitStrategy<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
WaitStrategy.Offerable |
static interface |
WaitStrategy.Takeable<T> |
Modifier and Type | Method and Description |
---|---|
boolean |
offer(WaitStrategy.Offerable o) |
T |
take(WaitStrategy.Takeable<T> t) |
T take(WaitStrategy.Takeable<T> t) throws java.lang.InterruptedException
java.lang.InterruptedException
boolean offer(WaitStrategy.Offerable o) throws java.lang.InterruptedException
java.lang.InterruptedException