Package org.hibernate.cache.internal
Class TimestampsCacheEnabledImpl
java.lang.Object
org.hibernate.cache.internal.TimestampsCacheEnabledImpl
- All Implemented Interfaces:
TimestampsCache
Standard implementation of TimestampsCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe region used to store all timestamp data.void
invalidate
(String[] spaces, SharedSessionContractImplementor session) Perform invalidation of the passed spaces (table names) against the timestamp region data.boolean
isUpToDate
(String[] spaces, Long timestamp, SharedSessionContractImplementor session) Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.boolean
isUpToDate
(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session) Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.void
preInvalidate
(String[] spaces, SharedSessionContractImplementor session) Perform pre-invalidation of the passed spaces (table names) against the timestamp region data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.cache.spi.TimestampsCache
clear, destroy
-
Field Details
-
DEBUG_ENABLED
public static final boolean DEBUG_ENABLED
-
-
Constructor Details
-
TimestampsCacheEnabledImpl
-
-
Method Details
-
getRegion
Description copied from interface:TimestampsCache
The region used to store all timestamp data.- Specified by:
getRegion
in interfaceTimestampsCache
-