| Package | Description |
|---|---|
| io.agroal.api.cache | |
| io.agroal.api.configuration | |
| io.agroal.api.configuration.supplier |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionCache |
LocalConnectionCache.fixed(int size)
A local cache that stores up to a number of connections.
|
static ConnectionCache |
LocalConnectionCache.full()
A local cache that stores all connections
|
static ConnectionCache |
ConnectionCache.none()
An implementation that does not cache.
|
static ConnectionCache |
LocalConnectionCache.single()
A local cache that stores at most a single connection.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionCache |
AgroalConnectionPoolConfiguration.connectionCache()
Customizable strategy for connection caching.
|
| Modifier and Type | Method and Description |
|---|---|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionCache(ConnectionCache cache)
Sets the connection cache implementation.
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.