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 Details

    • BlockingValueOrException

      public BlockingValueOrException()
  • Method Details

    • setValue

      public void setValue(V v)
    • setException

      public void setException(E e)
    • uninterruptibleGetValue

      public V uninterruptibleGetValue() throws E
      Throws:
      E
    • uninterruptibleGetValue

      public V uninterruptibleGetValue(int timeout) throws E, TimeoutException
      Throws:
      E
      TimeoutException