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.


构造方法摘要
SessionInMemory()
           
 
方法摘要
 Date getCreateTime()
           
 org.apache.shiro.session.Session getSession()
           
 void setCreateTime(Date createTime)
           
 void setSession(org.apache.shiro.session.Session session)
           
 
从类 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.