-
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
构造器详细资料
-
DefaultSqlCache
public DefaultSqlCache(int capacity,
long expire)
-
方法详细资料
-
put
存入缓存
- 指定者:
put 在接口中 SqlCache
- 参数:
name - 名字
key - key
value - 值
-
put
存入缓存
- 指定者:
put 在接口中 SqlCache
- 参数:
name - 名字
key - key
value - 值
ttl - 有效期
-
get
获取缓存
- 指定者:
get 在接口中 SqlCache
- 参数:
name - 名字
key - key
-