Package io.agroal.api.cache
Interface LocalConnectionCache
public interface LocalConnectionCache
Implementations of ConnectionCache that rely on
ThreadLocal.- Author:
- Luis Barreiro
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ConnectionCachefixed(int size) A local cache that stores up to a number of connections.static ConnectionCachefull()A local cache that stores all connectionsstatic ConnectionCachesingle()A local cache that stores at most a single connection.
-
Method Details
-
single
A local cache that stores at most a single connection. -
fixed
A local cache that stores up to a number of connections. -
full
A local cache that stores all connections
-