public interface CacheManager {redis
String EHCACHE = "ehcacheManager";get
String REDIS = "redisCacheManager";im
String DEFAULT = CacheManager.REDIS;di
void put(String key, Object value, int timeToLive);co
boolean add(String key, Object value, int timeToLive);time
Object get(String key);let
Object getAndTouch(String key, int timeToLive);interface
void delete(String key);void
boolean containsKey(String key);delete
}