@Override public void unlockItem(Object key, SoftLock lock) throws CacheException { evict(key); }
@Override public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException { if (accessType == AccessType.READ_ONLY) { return new ReadOnlyCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.READ_WRITE) { return new ReadWriteCollectionRegionAccessStrategy(settings, this, mapCache); } if (accessType == AccessType.NONSTRICT_READ_WRITE) { return new NonStrictReadWriteCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.TRANSACTIONAL) { return new TransactionalCollectionRegionAccessStrategy(settings, this); } throw new CacheException("Unsupported access strategy: " + accessType); }
@Override public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException { if (accessType == AccessType.READ_ONLY) { return new ReadOnlyCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.READ_WRITE) { return new ReadWriteCollectionRegionAccessStrategy(settings, this, mapCache); } if (accessType == AccessType.NONSTRICT_READ_WRITE) { return new NonStrictReadWriteCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.TRANSACTIONAL) { return new TransactionalCollectionRegionAccessStrategy(settings, this); } throw new CacheException("Unsupported access strategy: " + accessType); }
@Override public void remove(Object key) throws CacheException { evict(key); }
@Override public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException { if (accessType == AccessType.READ_ONLY) { return new ReadOnlyCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.READ_WRITE) { return new ReadWriteCollectionRegionAccessStrategy(settings, this, mapCache); } if (accessType == AccessType.NONSTRICT_READ_WRITE) { return new NonStrictReadWriteCollectionRegionAccessStrategy(settings, this); } if (accessType == AccessType.TRANSACTIONAL) { return new TransactionalCollectionRegionAccessStrategy(settings, this); } throw new CacheException("Unsupported access strategy: " + accessType); }
@Override public void remove(SharedSessionContractImplementor session, Object key) throws CacheException { evict(key); }
@Override public void remove(SessionImplementor session, Object key) throws CacheException { evict(key); }
@Override public void unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock) throws CacheException { evict(key); }
@Override public void unlockItem(SessionImplementor session, Object key, SoftLock lock) throws CacheException { evict(key); }