类 InMemorySessionRepository.ExpiredSessionChecker

java.lang.Object
cn.taketoday.session.InMemorySessionRepository.ExpiredSessionChecker
封闭类:
InMemorySessionRepository

private final class InMemorySessionRepository.ExpiredSessionChecker extends Object
  • 字段详细资料

    • CHECK_PERIOD

      private static final int CHECK_PERIOD
      Max time between expiration checks.
      另请参阅:
    • lock

      private final ReentrantLock lock
    • checkTime

      private Instant checkTime
  • 构造器详细资料

    • ExpiredSessionChecker

      private ExpiredSessionChecker()
  • 方法详细资料

    • checkIfNecessary

      public void checkIfNecessary(Instant now)
    • removeExpiredSessions

      public void removeExpiredSessions(Instant now)