Package com.rabbitmq.utility
Class BlockingValueOrException<V,E extends Throwable & SensibleClone<E>>
java.lang.Object
com.rabbitmq.utility.BlockingCell<ValueOrException<V,E>>
com.rabbitmq.utility.BlockingValueOrException<V,E>
public class BlockingValueOrException<V,E extends Throwable & SensibleClone<E>>
extends BlockingCell<ValueOrException<V,E>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setException
(E e) void
uninterruptibleGetValue
(int timeout) Methods inherited from class com.rabbitmq.utility.BlockingCell
get, get, set, setIfUnset, uninterruptibleGet, uninterruptibleGet
-
Constructor Details
-
BlockingValueOrException
public BlockingValueOrException()
-
-
Method Details
-
setValue
-
setException
-
uninterruptibleGetValue
- Throws:
E
-
uninterruptibleGetValue
- Throws:
E
TimeoutException
-