Package org.hibernate.cache.spi.support
Interface DomainDataStorageAccess
-
- All Superinterfaces:
StorageAccess
- All Known Implementing Classes:
JCacheAccessImpl
,MapStorageAccessImpl
public interface DomainDataStorageAccess extends StorageAccess
Specialization ofStorageAccess
for domain data regions.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
putFromLoad(Object key, Object value, SharedSessionContractImplementor session)
Specialized form of putting something into the cache in cases where the put is coming from a load (read) from the database-
Methods inherited from interface org.hibernate.cache.spi.support.StorageAccess
clearCache, contains, evictData, evictData, getFromCache, putIntoCache, release, removeFromCache
-
-
-
-
Method Detail
-
putFromLoad
default void putFromLoad(Object key, Object value, SharedSessionContractImplementor session)
Specialized form of putting something into the cache in cases where the put is coming from a load (read) from the database- Implementation Note:
- the method default is to call
StorageAccess.putIntoCache(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)
-
-