类 SharedCacheToken
java.lang.Object
org.coodex.concrete.core.token.AbstractToken
org.coodex.concrete.core.token.sharedcache.SharedCacheToken
- 所有已实现的接口:
Serializable,Token
Created by davidoff shen on 2016-11-23.
- 另请参阅:
-
嵌套类概要
从接口继承的嵌套类/接口 org.coodex.concrete.common.Token
Token.Event -
字段概要
从接口继承的字段 org.coodex.concrete.common.Token
CONCRETE_TOKEN_ID_KEY -
方法概要
修饰符和类型方法说明protected voidprotected void$renew()longcreated()Account<?>voidflush()<T> TgetAttribute(String key, Class<T> tClass) booleanbooleanisValid()voidremoveAttribute(String key) voidsetAccount(Account<?> account) voidsetAccountCredible(boolean credible) voidsetAttribute(String key, Serializable attribute) toString()从类继承的方法 org.coodex.concrete.core.token.AbstractToken
invalidate, renew, runListeners
-
方法详细资料
-
created
public long created() -
isValid
public boolean isValid() -
$invalidate
protected void $invalidate()- 指定者:
$invalidate在类中AbstractToken
-
currentAccount
-
setAccount
-
isAccountCredible
public boolean isAccountCredible() -
setAccountCredible
public void setAccountCredible(boolean credible) -
getTokenId
-
getAttribute
-
setAttribute
-
removeAttribute
-
attributeNames
-
flush
public void flush() -
$renew
protected void $renew()- 指定者:
$renew在类中AbstractToken
-
toString
-