All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.maxplus1.access.starter.config.shiro.cache.SessionInMemory Maven / Gradle / Ivy

The newest version!
package com.maxplus1.access.starter.config.shiro.cache;

import lombok.Data;
import org.apache.shiro.session.Session;

import java.util.Date;

/**
 * Use ThreadLocal as a temporary storage of Session, so that shiro wouldn't keep read redis several times while a request coming.
 */
@Data
public class SessionInMemory {
    private Session session;
    private Date createTime;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy