Beispiel #1
0
 @Override
 public V remove(K key) throws CacheException {
   logger.debug("从redis中删除 key [" + key + "]");
   try {
     V previous = get(key);
     HierarchicalCacheManager.evict(level, name, key);
     return previous;
   } catch (Throwable t) {
     throw new CacheException(t);
   }
 }