Interface UpdateTimestampsCache

  • All Known Subinterfaces:
    TimestampsCache

    @Deprecated
    public interface UpdateTimestampsCache
    Deprecated.
    Use TimestampsCache instead
    Tracks the timestamps of the most recent updates to particular tables. It is important that the cache timeout of the underlying cache implementation be set to a higher value than the timeouts of any of the query caches. In fact, we recommend that the the underlying cache not be configured for expiry at all. Note, in particular, that an LRU cache expiry policy is never appropriate.
    • Method Detail

      • getRegion

        TimestampsRegion getRegion()
        Deprecated.
        Get the underlying cache region where data is stored..
        Returns:
        The underlying region.
      • isUpToDate

        boolean isUpToDate​(java.util.Set<java.io.Serializable> spaces,
                           java.lang.Long timestamp,
                           SharedSessionContractImplementor session)
                    throws CacheException
        Deprecated.
        Perform an up-to-date check for the given set of query spaces.
        Parameters:
        spaces - The spaces to check
        timestamp - The timestamp against which to check.
        Throws:
        CacheException - Indicated problem delegating to underlying region.
      • clear

        void clear()
            throws CacheException
        Deprecated.
        Clear the update-timestamps data.
        Throws:
        CacheException - Indicates problem delegating call to underlying region.
      • destroy

        void destroy()
        Deprecated.
        Destroys the cache.
        Throws:
        CacheException - Indicates problem delegating call to underlying region.