public class

UpdateTimestampsCache

extends Object
java.lang.Object
   ↳ org.hibernate.cache.UpdateTimestampsCache

Class Overview

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.

Summary

Fields
public static final String REGION_NAME
Public Constructors
UpdateTimestampsCache(Settings settings, Properties props)
Public Methods
void clear()
void destroy()
TimestampsRegion getRegion()
void invalidate(Serializable[] spaces)
boolean isUpToDate(Set spaces, Long timestamp)
void preinvalidate(Serializable[] spaces)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final String REGION_NAME

Public Constructors

public UpdateTimestampsCache (Settings settings, Properties props)

Public Methods

public void clear ()

public void destroy ()

public TimestampsRegion getRegion ()

public void invalidate (Serializable[] spaces)

public boolean isUpToDate (Set spaces, Long timestamp)

public void preinvalidate (Serializable[] spaces)

public String toString ()