public interface ConnectionListener<C>
ConnectionProvider to interact with the
connection pool. Its purpose is also to use a connection implementation without a pool.| Modifier and Type | Method and Description |
|---|---|
void |
onConcurrencyChange(long concurrency)
Signals the connection the concurrency changed to the
concurrency value. |
void |
onEvict()
Evict the connection from the pool, it will now be fully managed by the borrower.
|
void |
onRecycle(long expirationTimestamp)
Recycles the connection.
|
void onConcurrencyChange(long concurrency)
concurrency value.concurrency - the concurrencyvoid onRecycle(long expirationTimestamp)
expirationTimestamp - the expiration timestamp or 0L to expire immediatelyvoid onEvict()
Copyright © 2020. All rights reserved.