public V remove(K key) throws CacheException {
            LOGGER.trace("Removing object from cache [{}] for key [{}]", cache.getName(), key);
            try {
                return cache.getAndRemove(key);
            } catch (Throwable t) {
                throw new CacheException(t);
            }
        }
Removes the element which matches the key.

<p>If no element matches, nothing is removed and no Exception is thrown.</p>

@param key the key of the element to remove
support/jcache/src/main/java/org/apache/shiro/cache/jcache/JCacheManager.java