public class UpdateTimestampsCache extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REGION_NAME |
| Constructor and Description |
|---|
UpdateTimestampsCache(Settings settings,
Properties props) |
UpdateTimestampsCache(Settings settings,
Properties props,
SessionFactoryImplementor factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
destroy() |
TimestampsRegion |
getRegion() |
void |
invalidate(Serializable[] spaces,
SessionImplementor session)
Perform invalidation.
|
boolean |
isUpToDate(Set<Serializable> spaces,
Long timestamp,
SessionImplementor session)
Perform an up-to-date check for the given set of query spaces.
|
void |
preInvalidate(Serializable[] spaces,
SessionImplementor session)
Perform pre-invalidation.
|
String |
toString() |
public static final String REGION_NAME
public UpdateTimestampsCache(Settings settings, Properties props, SessionFactoryImplementor factory) throws HibernateException
HibernateExceptionpublic UpdateTimestampsCache(Settings settings, Properties props) throws HibernateException
HibernateExceptionpublic void preInvalidate(Serializable[] spaces, SessionImplementor session) throws CacheException
spaces - The spaces to pre-invalidatesession - CacheException - Indicated problem delegating to underlying region.public void invalidate(Serializable[] spaces, SessionImplementor session) throws CacheException
spaces - The spaces to pre-invalidatesession - CacheException - Indicated problem delegating to underlying region.public boolean isUpToDate(Set<Serializable> spaces, Long timestamp, SessionImplementor session) throws CacheException
spaces - The spaces to checktimestamp - The timestamp against which to check.session - CacheException - Indicated problem delegating to underlying region.public void clear()
throws CacheException
CacheExceptionpublic void destroy()
public TimestampsRegion getRegion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.