Class PCEPProtocolSessionPromise<S extends PCEPSession>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
io.netty.util.concurrent.DefaultPromise<S>
org.opendaylight.protocol.pcep.impl.PCEPProtocolSessionPromise<S>
- All Implemented Interfaces:
io.netty.util.concurrent.Future<S>
,io.netty.util.concurrent.Promise<S>
,Future<S>
public final class PCEPProtocolSessionPromise<S extends PCEPSession>
extends io.netty.util.concurrent.DefaultPromise<S>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
cancel
(boolean mayInterruptIfRunning) io.netty.util.concurrent.Promise<S>
setSuccess
(S result) Methods inherited from class io.netty.util.concurrent.DefaultPromise
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, checkDeadLock, executor, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, removeListener, removeListeners, setFailure, setUncancellable, sync, syncUninterruptibly, toString, toStringBuilder, tryFailure, trySuccess
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) - Specified by:
cancel
in interfaceio.netty.util.concurrent.Future<S extends PCEPSession>
- Specified by:
cancel
in interfaceFuture<S extends PCEPSession>
- Overrides:
cancel
in classio.netty.util.concurrent.DefaultPromise<S extends PCEPSession>
-
setSuccess
- Specified by:
setSuccess
in interfaceio.netty.util.concurrent.Promise<S extends PCEPSession>
- Overrides:
setSuccess
in classio.netty.util.concurrent.DefaultPromise<S extends PCEPSession>
-