public class CacheKit extends Object
Constructor and Description |
---|
CacheKit() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
get(String cacheName,
Object key) |
static <T> T |
get(String cacheName,
Object key,
Class<? extends IDataLoader> dataLoaderClass) |
static <T> T |
get(String cacheName,
Object key,
IDataLoader dataLoader) |
static net.sf.ehcache.CacheManager |
getCacheManager() |
static List |
getKeys(String cacheName) |
static void |
put(String cacheName,
Object key,
Object value) |
static void |
remove(String cacheName,
Object key) |
static void |
removeAll(String cacheName) |
public static net.sf.ehcache.CacheManager getCacheManager()
public static void removeAll(String cacheName)
public static <T> T get(String cacheName, Object key, IDataLoader dataLoader)
public static <T> T get(String cacheName, Object key, Class<? extends IDataLoader> dataLoaderClass)
Copyright © 2018. All rights reserved.