org.crazycake.shiro
类 SessionInMemory
java.lang.Object
org.crazycake.shiro.SessionInMemory
public class SessionInMemory
- extends Object
Use ThreadLocal as a temporary storage of Session, so that shiro wouldn't keep read redis several times while a request coming.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionInMemory
public SessionInMemory()
getSession
public org.apache.shiro.session.Session getSession()
setSession
public void setSession(org.apache.shiro.session.Session session)
getCreateTime
public Date getCreateTime()
setCreateTime
public void setCreateTime(Date createTime)
Copyright © 2018. All rights reserved.