1 /** 2 * Copyright By Grandsoft Company Limited. 3 * 2012-6-6 上午10:38:40 4 */ 5 package gboat2.base.core.cache; 6 7 /** 8 * 9 * 对外公布的缓存服务 10 * @author zhangxj-a 11 * @since 1.0 12 * @date 2012-6-6 13 */ 14 public interface ICacheService { 15 16 /** 17 * 增加缓存对象 18 * @param catalog 19 * @param key 20 * @param value 21 */ 22 void put(String catalog,String key,Object value); 23 24 /** 25 * 获取缓存对象 26 * @param catalog 27 * @param key 28 * @return 29 */ 30 Object get(String catalog,String key); 31 32 /** 33 * 移除缓存对象 34 * @param catalog 35 * @param key 36 */ 37 void remove(String catalog,String key); 38 39 }