All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.silentgo.core.cache.CacheManager Maven / Gradle / Ivy

There is a newer version: 0.0.49
Show newest version
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 getKeys(Object name); List getNames(); }