public class NonStrictReadWriteMemcachedCollectionRegionAccessStrategy extends AbstractMemcachedAccessStrategy<MemcachedCollectionRegion> implements org.hibernate.cache.spi.access.CollectionRegionAccessStrategy
region| Constructor and Description |
|---|
NonStrictReadWriteMemcachedCollectionRegionAccessStrategy(MemcachedCollectionRegion region,
org.hibernate.boot.spi.SessionFactoryOptions settings) |
| Modifier and Type | Method and Description |
|---|---|
Object |
generateCacheKey(Object id,
org.hibernate.persister.collection.CollectionPersister persister,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
String tenantIdentifier) |
Object |
get(Object key,
long txTimestamp) |
Object |
get(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
long txTimestamp) |
Object |
getCacheKeyId(Object cacheKey) |
org.hibernate.cache.spi.access.SoftLock |
lockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object version) |
boolean |
putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
void |
unlockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
org.hibernate.cache.spi.access.SoftLock lock) |
evict, evictAll, getRegion, lockRegion, putFromLoad, region, remove, removeAll, settings, unlockRegionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic NonStrictReadWriteMemcachedCollectionRegionAccessStrategy(MemcachedCollectionRegion region, org.hibernate.boot.spi.SessionFactoryOptions settings)
public Object get(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, long txTimestamp) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic final boolean putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
throws org.hibernate.cache.CacheException
AbstractMemcachedAccessStrategyputFromLoad in interface org.hibernate.cache.spi.access.RegionAccessStrategyputFromLoad in class AbstractMemcachedAccessStrategy<MemcachedCollectionRegion>org.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.access.SoftLock lockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
Object version)
throws org.hibernate.cache.CacheException
lockItem in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void unlockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object key,
org.hibernate.cache.spi.access.SoftLock lock)
throws org.hibernate.cache.CacheException
unlockItem in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic Object get(Object key, long txTimestamp) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic Object generateCacheKey(Object id, org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier)
generateCacheKey in interface org.hibernate.cache.spi.access.CollectionRegionAccessStrategyCopyright © 2017. All rights reserved.