- java.lang.Object
-
- org.redkale.cached.spi.CachedAction
-
@ClassDepends public class CachedAction extends Object
缓存的方法对象详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected String
checkName(String value)
检查name是否含特殊字符<T> T
get(ThrowSupplier<T> supplier, Object... args)
CachedEntry
getCached()
String
getKey()
Duration
getLocalExpire()
int
getLocalLimit()
Method
getMethod()
String
getName()
Duration
getRemoteExpire()
void
setLocalExpire(Duration localExpire)
void
setLocalLimit(int localLimit)
void
setRemoteExpire(Duration remoteExpire)
String
toString()
-
-
-
方法详细资料
-
get
@ClassDepends public <T> T get(ThrowSupplier<T> supplier, Object... args)
-
getCached
public CachedEntry getCached()
-
getMethod
public Method getMethod()
-
getName
public String getName()
-
getKey
public String getKey()
-
getLocalLimit
public int getLocalLimit()
-
setLocalLimit
public void setLocalLimit(int localLimit)
-
getLocalExpire
public Duration getLocalExpire()
-
setLocalExpire
public void setLocalExpire(Duration localExpire)
-
getRemoteExpire
public Duration getRemoteExpire()
-
setRemoteExpire
public void setRemoteExpire(Duration remoteExpire)
-
-