Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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>>

Constructor Summary
`BlockingValueOrException()`

Method Summary
`void` | `setException(E e)`
`void` | `setValue(V v)`
`V` | `uninterruptibleGetValue()`
`V` | `uninterruptibleGetValue(int timeout)`

Methods inherited from class com.rabbitmq.utility.BlockingCell
`get, get, set, setIfUnset, uninterruptibleGet, 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 & 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD