com.rabbitmq.utility
Class BlockingValueOrException<V,E extends java.lang.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 java.lang.Throwable & SensibleClone<E>>
- extends BlockingCell<ValueOrException<V,E>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingValueOrException
public BlockingValueOrException()
setValue
public void setValue(V v)
setException
public void setException(E e)
uninterruptibleGetValue
public V uninterruptibleGetValue()
throws E extends java.lang.Throwable & SensibleClone<E>
- Throws:
E extends java.lang.Throwable & SensibleClone<E>
uninterruptibleGetValue
public V uninterruptibleGetValue(int timeout)
throws E extends java.lang.Throwable & SensibleClone<E>,
java.util.concurrent.TimeoutException
- Throws:
E extends java.lang.Throwable & SensibleClone<E>
java.util.concurrent.TimeoutException