Interface QueryPlanCache

    • Method Detail

      • close

        void close()
        Close the cache when the SessionFactory is closed.

        Note that depending on the cache strategy implementation chosen, clearing the cache might not reclaim all the memory.

        Typically, when using LIRS, clearing the cache only invalidates the entries but the outdated entries are kept in memory until they are replaced by others. It is not considered a memory leak as the cache is bounded.