Class LaxConnPool.LeaseRequest<T,C extends ModalCloseable>

java.lang.Object
org.apache.hc.core5.pool.LaxConnPool.LeaseRequest<T,C>
All Implemented Interfaces:
Cancellable
Enclosing class:
LaxConnPool<T,C extends ModalCloseable>

static class LaxConnPool.LeaseRequest<T,C extends ModalCloseable> extends Object implements Cancellable
  • Field Details

  • Constructor Details

  • Method Details

    • getFuture

      BasicFuture<PoolEntry<T,C>> getFuture()
    • getState

      public Object getState()
    • getDeadline

      public Deadline getDeadline()
    • isDone

      public boolean isDone()
    • completed

      public boolean completed(PoolEntry<T,C> result)
    • failed

      public boolean failed(Exception ex)
    • cancel

      public boolean cancel()
      Description copied from interface: Cancellable
      Cancels the ongoing operation or process.
      Specified by:
      cancel in interface Cancellable
      Returns:
      true if the operation or process has been cancelled as a result of this method call or false if it has already been cancelled or not started.