public interface CollectionRegionAccessStrategy extends RegionAccessStrategy
RegionAccessStrategy.lockItem(java.lang.Object, java.lang.Object) -> RegionAccessStrategy.remove(java.lang.Object) -> RegionAccessStrategy.unlockItem(java.lang.Object, org.hibernate.cache.spi.access.SoftLock)
There is another usage pattern that is used to invalidate entries
after performing "bulk" HQL/SQL operations:
RegionAccessStrategy.lockRegion() -> RegionAccessStrategy.removeAll() -> RegionAccessStrategy.unlockRegion(org.hibernate.cache.spi.access.SoftLock)| Modifier and Type | Method and Description |
|---|---|
CollectionRegion |
getRegion()
Get the wrapped collection cache region
|
evict, evictAll, get, lockItem, lockRegion, putFromLoad, putFromLoad, remove, removeAll, unlockItem, unlockRegionCollectionRegion getRegion()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.