com.rabbitmq.utility
Class BlockingValueOrException<V,E extends java.lang.Throwable>

java.lang.Object
  extended by com.rabbitmq.utility.BlockingCell<ValueOrException<V,E>>
      extended by com.rabbitmq.utility.BlockingValueOrException<V,E>

public class BlockingValueOrException<V,E extends java.lang.Throwable>
extends BlockingCell<ValueOrException<V,E>>


Constructor Summary
BlockingValueOrException()
           
 
Method Summary
 void setException(E e)
           
 void setValue(V v)
           
 V uninterruptibleGetValue()
           
 
Methods inherited from class com.rabbitmq.utility.BlockingCell
get, set, setIfUnset, uninterruptibleGet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingValueOrException

public BlockingValueOrException()
Method Detail

setValue

public void setValue(V v)

setException

public void setException(E e)

uninterruptibleGetValue

public V uninterruptibleGetValue()
                          throws E extends java.lang.Throwable
Throws:
E extends java.lang.Throwable