/** {@inheritDoc} */ public void put(Element element) throws CacheException { try { CacheWriter writer = cache.getRegisteredCacheWriter(); if (writer != null) { writer.write(element); } } catch (RuntimeException e) { throw new CacheWriterManagerException(e); } }
/** {@inheritDoc} */ public void performSingleOperation(CacheWriter cacheWriter) { cacheWriter.write(element); }