alexxiyang / shiro-redis

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
MIT License
1.17k stars 446 forks source link

Collection<Session> sessions = redisSessionDAO.getActiveSessions();数字会变化,有时为0,有时为1 #114

Open billzw opened 4 years ago

billzw commented 4 years ago

Collection sessions = redisSessionDAO.getActiveSessions();数字会变化,有时为0,有时为1 为准确,是什么原因呢?