- java.lang.Object
-
- org.redkale.cached.spi.CachedAction
-
@ClassDepends public class CachedAction extends Object
缓存的方法对象详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected StringcheckName(String value)检查name是否含特殊字符<T> Tget(ThrowSupplier<T> supplier, Object... args)CachedEntrygetCached()StringgetKey()DurationgetLocalExpire()intgetLocalLimit()MethodgetMethod()StringgetName()DurationgetRemoteExpire()voidsetLocalExpire(Duration localExpire)voidsetLocalLimit(int localLimit)voidsetRemoteExpire(Duration remoteExpire)StringtoString()
-
-
-
方法详细资料
-
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)
-
-