public interface AuthStateCache
State缓存接口,方便用户扩展
Modifier and Type | Method and Description |
---|---|
void |
cache(String key,
String value)
存入缓存
|
void |
cache(String key,
String value,
long timeout)
存入缓存
|
boolean |
containsKey(String key)
是否存在key,如果对应key的value值已过期,也返回false
|
String |
get(String key)
获取缓存内容
|
Copyright © 2021. All rights reserved.