Class PCEPProtocolSessionPromise<S extends PCEPSession>

java.lang.Object
io.netty.util.concurrent.AbstractFuture<S>
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>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.concurrent.Future

    Future.State
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.concurrent.Future

    exceptionNow, resultNow, state
  • Method Details

    • cancel

      public boolean cancel(boolean mayInterruptIfRunning)
      Specified by:
      cancel in interface io.netty.util.concurrent.Future<S extends PCEPSession>
      Specified by:
      cancel in interface Future<S extends PCEPSession>
      Overrides:
      cancel in class io.netty.util.concurrent.DefaultPromise<S extends PCEPSession>
    • setSuccess

      public io.netty.util.concurrent.Promise<S> setSuccess(S result)
      Specified by:
      setSuccess in interface io.netty.util.concurrent.Promise<S extends PCEPSession>
      Overrides:
      setSuccess in class io.netty.util.concurrent.DefaultPromise<S extends PCEPSession>