public class CacheConfigTO.SimpLocalCache extends Object implements LocalCache
| 构造器和说明 |
|---|
SimpLocalCache(int expire,
boolean localOnly) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Annotation> |
annotationType()
Returns the annotation type of this annotation.
|
int |
expire()
缓存的过期时间,单位:秒,如果为0则表示永久缓存
|
String |
expireExpression()
动态获取缓存过期时间的表达式
|
boolean |
localOnly()
只缓存在本地
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, toStringpublic int expire()
public String expireExpression()
public boolean localOnly()
public Class<? extends Annotation> annotationType()
annotationType 在接口中 AnnotationCopyright © 2020. All rights reserved.