接口 CacheManager

    • 方法详细资料

      • getCache

        Cache getCache​(String name)
        Get the cache associated with the given name.

        Note that the cache may be lazily created at runtime if the native provider supports it.

        参数:
        name - the cache identifier (must not be null)
        返回:
        the associated cache, or null if such a cache does not exist or could be not created
      • getCacheNames

        Collection<StringgetCacheNames()
        Get a collection of the cache names known by this manager.
        返回:
        the names of all caches known by the cache manager