public class CacheCore extends Object
| Constructor and Description |
|---|
CacheCore() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSwitchOn(CacheConfig config,
CachedGet cachedGet,
Method method,
Object[] args) |
static boolean |
isSwitchOn(CacheConfig config,
Cached cached,
Method method,
Object[] args) |
static boolean |
isSwitchOn(CacheConfig config,
Invalid invalid,
Method method,
Object[] args) |
Object |
read(CachedGet cachedGet,
Method method,
BaseInvoker baseInvoker) |
Object |
readWrite(Cached cached,
Method method,
BaseInvoker baseInvoker) |
void |
remove(Invalid invalid,
Method method,
Object[] args) |
void |
write() |
public static boolean isSwitchOn(CacheConfig config, Cached cached, Method method, Object[] args)
public static boolean isSwitchOn(CacheConfig config, Invalid invalid, Method method, Object[] args)
public static boolean isSwitchOn(CacheConfig config, CachedGet cachedGet, Method method, Object[] args)
public Object read(CachedGet cachedGet, Method method, BaseInvoker baseInvoker) throws Throwable
Throwablepublic Object readWrite(Cached cached, Method method, BaseInvoker baseInvoker) throws Throwable
Throwablepublic void write()
Copyright © 2019. All rights reserved.