org.zodiac.cache.service.BaseCacheService Maven / Gradle / Ivy
The newest version!
package org.zodiac.cache.service;
import java.util.concurrent.Callable;
public interface BaseCacheService {
T getCacheObj(String cacheName, Object objKey, Class tClass);
T getCacheObj(String cacheName, Object objKey, Callable initSupplier);
String getCacheString(String cacheName, Object objKey);
void putCacheObj(String cacheName, Object objKey, Object obj);
void removeCacheObj(String cacheName, Object objKey);
boolean isUninitializedCache(String cacheName);
void clearOutOfDateData(String cacheName);
}