com.silentgo.core.cache.CacheManager Maven / Gradle / Ivy
package com.silentgo.core.cache;
import java.util.List;
/**
* Project : parent
* Package : com.silentgo.core.cache
*
* @author teddyzhu
*
* Created by teddyzhu on 2016/10/8.
*/
public interface CacheManager {
/**
* @param name cache name/group
* @param key cache key
* @return
*/
Object get(Object name, Object key);
void set(Object name, Object key, Object value);
boolean evict(Object name, Object key);
void evict(Object name);
List