/** * {@inheritDoc} */ @Override public boolean replace(K key, V oldValue, V newValue) throws CacheLoadingException, CacheWritingException { return cache.replace(key, oldValue, newValue); }
/** * {@inheritDoc} */ @Override public V replace(K key, V value) throws CacheLoadingException, CacheWritingException { return cache.replace(key, value); }
@Override public boolean replace(K key, V oldValue, V newValue) { checkClosed(); try { return ehCache.replace(key, oldValue, newValue); } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }
@Override public V getAndReplace(K key, V value) { try { checkClosed(); return ehCache.replace(key, value); } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }
@Override public boolean replace(K key, V value) { checkClosed(); try { return ehCache.replace(key, value) != null; } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }
/** * {@inheritDoc} */ @Override public V replace(K key, V value) throws CacheLoadingException, CacheWritingException { return cache.replace(key, value); }
/** * {@inheritDoc} */ @Override public boolean replace(K key, V oldValue, V newValue) throws CacheLoadingException, CacheWritingException { return cache.replace(key, oldValue, newValue); }
@Override public V getAndReplace(K key, V value) { try { checkClosed(); return ehCache.replace(key, value); } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }
@Override public boolean replace(K key, V oldValue, V newValue) { checkClosed(); try { return ehCache.replace(key, oldValue, newValue); } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }
@Override public boolean replace(K key, V value) { checkClosed(); try { return ehCache.replace(key, value) != null; } catch (CacheWritingException e) { throw jsr107CacheWriterException(e); } }