public V put(K key, V value) throws CacheException {
            LOGGER.trace("Putting object in cache [{}] for key [{}]", cache.getName(), key);
            try {
                V previous = get(key);
                cache.put(key, value);
                return previous;
            } catch (Throwable t) {
                throw new CacheException(t);
            }
        }
Puts an object into the cache.

@param key   the key.
@param value the value.
support/jcache/src/main/java/org/apache/shiro/cache/jcache/JCacheManager.java