Class QuarkusSimpleConnectionCache

java.lang.Object
io.quarkus.agroal.runtime.QuarkusSimpleConnectionCache
All Implemented Interfaces:
io.agroal.api.cache.ConnectionCache

class QuarkusSimpleConnectionCache extends Object implements io.agroal.api.cache.ConnectionCache
  • Field Details

    • connectionCache

      volatile ThreadLocal<io.agroal.api.cache.Acquirable> connectionCache
  • Constructor Details

    • QuarkusSimpleConnectionCache

      QuarkusSimpleConnectionCache()
  • Method Details

    • get

      public io.agroal.api.cache.Acquirable get()
      Specified by:
      get in interface io.agroal.api.cache.ConnectionCache
    • put

      public void put(io.agroal.api.cache.Acquirable acquirable)
      Specified by:
      put in interface io.agroal.api.cache.ConnectionCache
    • reset

      public void reset()
      Specified by:
      reset in interface io.agroal.api.cache.ConnectionCache