Package org.hibernate.cache.internal
Class TimestampsCacheDisabledImpl
java.lang.Object
org.hibernate.cache.internal.TimestampsCacheDisabledImpl
- All Implemented Interfaces:
TimestampsCache
TimestampsRegionAccess implementation for cases where query results caching
(or second level caching overall) is disabled.
-
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
-
Constructor Details
-
TimestampsCacheDisabledImpl
public TimestampsCacheDisabledImpl()
-
-
Method Details
-
getRegion
Description copied from interface:TimestampsCache
The region used to store all timestamp data.- Specified by:
getRegion
in interfaceTimestampsCache
-