public class BlockingValueOrException<V,E extends Throwable & SensibleClone<E>> extends BlockingCell<ValueOrException<V,E>>
| Constructor and Description |
|---|
BlockingValueOrException() |
| Modifier and Type | Method and Description |
|---|---|
void |
setException(E e) |
void |
setValue(V v) |
V |
uninterruptibleGetValue() |
V |
uninterruptibleGetValue(int timeout) |
get, get, set, setIfUnset, uninterruptibleGet, uninterruptibleGetpublic void setValue(V v)
public void setException(E e)
public V uninterruptibleGetValue() throws E extends Throwable & SensibleClone<E>
E extends Throwable & SensibleClone<E>public V uninterruptibleGetValue(int timeout) throws E extends Throwable & SensibleClone<E>, TimeoutException
E extends Throwable & SensibleClone<E>TimeoutExceptionCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.