Class ConnectionPool.ConnectionFuture

  • All Implemented Interfaces:
    Runnable, Future<Connection>
    Enclosing class:
    ConnectionPool

    protected class ConnectionPool.ConnectionFuture
    extends Object
    implements Future<Connection>, Runnable
    Tread safe wrapper around a future for the regular queue This one retrieves the pooled connection object and performs the initialization according to interceptors and validation rules. This class is thread safe and is cancellable