public void clear(final CodisCacheKey cacheKey) { this.clearCache(cacheKey.ganerateGroup()); }
public void set(final CodisCacheKey cacheKey, final Object value) { String key = cacheKey.ganerateKey(); this.addIndex(cacheKey.ganerateGroup(), key); operations.set(key, value, cacheKey.getExpiration(), TimeUnit.SECONDS); }
public void evict(final CodisCacheKey cacheKey) { String key = cacheKey.ganerateKey(); this.removeCache(cacheKey.ganerateGroup(), key); }