Interface CacheManagement

    • Method Detail

      • start

        void start()
        Starts this cache.
      • stop

        void stop()
        Stops this cache and releases related resources.
      • getSize

        long getSize()
        Returns this cache size (approximate number of entries), or -1 if the number of entries is unknown or too expensive to compute.
        Returns:
        the approximate number of entries, or -1
        Since:
        9.1
      • putLocal

        void putLocal​(String key,
                      Serializable value)
        Stores a Serializable value into the cache locally. Does not propagate invalidations.
        Parameters:
        key - the key
        value - the value
        Since:
        9.3
      • invalidateLocal

        void invalidateLocal​(String key)
        Invalidates the given key locally. Does not propagate invalidations.
        Parameters:
        key - the key to remove from the cache
        Since:
        9.3
      • invalidateLocalAll

        void invalidateLocalAll()
        Invalidates all keys locally. Does not propagate invalidations.
        Since:
        9.3