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, unlockRegion
CollectionRegion getRegion()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.