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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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 Detail
-
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
public io.netty.util.concurrent.Promise<S> setSuccess(S result)
- Specified by:
setSuccess
in interfaceio.netty.util.concurrent.Promise<S extends PCEPSession>
- Overrides:
setSuccess
in classio.netty.util.concurrent.DefaultPromise<S extends PCEPSession>
-
-