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
SpecializedRegion
whose data is accessed directly, without the need for key/item wrapping. 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 Object
getFromCache(Object key, SharedSessionContractImplementor session)
Get value by keyvoid
putIntoCache(Object key, 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
Object getFromCache(Object key, SharedSessionContractImplementor session)
Get value by key
-
putIntoCache
void putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
Put a value by key
-
-