public interface ConnectionCachePolicy
| Modifier and Type | Method and Description |
|---|---|
long |
keepAliveDeadlineNanos(boolean fromPool)
Returns the
System.nanoTime()-based deadline after which a cached connection may be
released, or 0 to keep it (pool-managed, or reuse indefinitely). |
long keepAliveDeadlineNanos(boolean fromPool)
System.nanoTime()-based deadline after which a cached connection may be
released, or 0 to keep it (pool-managed, or reuse indefinitely).fromPool - whether the connection came from an internal connection pool0