Class SettableRestconfFuture<V>
java.lang.Object
com.google.common.util.concurrent.internal.InternalFutureFailureAccess
com.google.common.util.concurrent.AbstractFuture<@NonNull V>
org.opendaylight.restconf.common.errors.RestconfFuture<V>
org.opendaylight.restconf.common.errors.SettableRestconfFuture<V>
- Type Parameters:
V- resulting value type
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<V>,Future<V>
A
RestconfFuture which allows the result to be set via set(Object) and
setFailure(RestconfDocumentedException).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods inherited from class org.opendaylight.restconf.common.errors.RestconfFuture
addCallback, cancel, failed, getOrThrow, of, transformMethods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, afterDone, get, get, interruptTask, isCancelled, isDone, pendingToString, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
-
Constructor Details
-
SettableRestconfFuture
public SettableRestconfFuture()
-
-
Method Details
-
set
- Overrides:
setin classcom.google.common.util.concurrent.AbstractFuture<V>
-
setFailure
-