Package io.quarkus.agroal.runtime
Class QuarkusNettyConnectionCache
- java.lang.Object
-
- io.quarkus.agroal.runtime.QuarkusNettyConnectionCache
-
- All Implemented Interfaces:
io.agroal.api.cache.ConnectionCache
class QuarkusNettyConnectionCache extends Object implements io.agroal.api.cache.ConnectionCache
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.netty.util.concurrent.FastThreadLocal<io.agroal.api.cache.Acquirable>
connectionCache
-
Constructor Summary
Constructors Constructor Description QuarkusNettyConnectionCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.agroal.api.cache.Acquirable
get()
void
put(io.agroal.api.cache.Acquirable acquirable)
void
reset()
-
-
-
Method Detail
-
get
public io.agroal.api.cache.Acquirable get()
- Specified by:
get
in interfaceio.agroal.api.cache.ConnectionCache
-
put
public void put(io.agroal.api.cache.Acquirable acquirable)
- Specified by:
put
in interfaceio.agroal.api.cache.ConnectionCache
-
reset
public void reset()
- Specified by:
reset
in interfaceio.agroal.api.cache.ConnectionCache
-
-