Class QuarkusSimpleConnectionCache

  • All Implemented Interfaces:
    io.agroal.api.cache.ConnectionCache

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

      • connectionCache

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

      • QuarkusSimpleConnectionCache

        QuarkusSimpleConnectionCache()
    • Method Detail

      • 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