Package org.hibernate.cache.spi
Interface DirectAccessRegion
-
- All Superinterfaces:
Region
- All Known Subinterfaces:
QueryResultsRegion
,TimestampsRegion
- All Known Implementing Classes:
DirectAccessRegionTemplate
,QueryResultsRegionTemplate
,TimestampsRegionTemplate
public interface DirectAccessRegion extends Region
Specialized Region whose data is accessed directly (not requiring key/item wrapping, e.g. Does not define a "remove" operation because Hibernate's query and timestamps caches only ever "get" and "put"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
Get value by keyvoid
putIntoCache(java.lang.Object key, java.lang.Object value, SharedSessionContractImplementor session)
Put a value by key-
Methods inherited from interface org.hibernate.cache.spi.Region
clear, destroy, getName, getRegionFactory
-
-
-
-
Method Detail
-
getFromCache
java.lang.Object getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
Get value by key
-
putIntoCache
void putIntoCache(java.lang.Object key, java.lang.Object value, SharedSessionContractImplementor session)
Put a value by key
-
-