- All Superinterfaces:
org.hibernate.cache.spi.ExtendedStatisticsSupport,org.hibernate.cache.spi.Region
- All Known Implementing Classes:
IMapRegionCache,LocalRegionCache,TimestampsRegionCache
public interface RegionCache
extends org.hibernate.cache.spi.Region, org.hibernate.cache.spi.ExtendedStatisticsSupport
This interface defines an internal cached region implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterUpdate(Object key, Object newValue, Object newVersion) default voidclear()booleandefault voiddestroy()voidvoiddefault longHazelcast does not support pushing elements to disk.default longbooleanvoidunlockItem(Object key, org.hibernate.cache.spi.access.SoftLock lock) Methods inherited from interface org.hibernate.cache.spi.ExtendedStatisticsSupport
getElementCountInMemory, getSizeInMemoryMethods inherited from interface org.hibernate.cache.spi.Region
getName, getRegionFactory
-
Method Details
-
afterUpdate
-
clear
default void clear()- Specified by:
clearin interfaceorg.hibernate.cache.spi.Region
-
contains
-
destroy
default void destroy()- Specified by:
destroyin interfaceorg.hibernate.cache.spi.Region
-
evictData
void evictData() -
evictData
-
get
-
getElementCountOnDisk
default long getElementCountOnDisk()Hazelcast does not support pushing elements to disk.- Specified by:
getElementCountOnDiskin interfaceorg.hibernate.cache.spi.ExtendedStatisticsSupport- Returns:
- -1 this value means "unsupported"
-
nextTimestamp
default long nextTimestamp() -
put
-
unlockItem
-