Class SessionsProperties.ExpiringMap

java.lang.Object
io.jmix.sessions.SessionsProperties.ExpiringMap
Enclosing class:
SessionsProperties

public static class SessionsProperties.ExpiringMap extends Object
Stores settings for JmixExpiringSessionMap - a default local Map implementation for MapSessionRepository that periodically removes expired sessions.
  • Field Details

    • cleanupEnabled

      protected Boolean cleanupEnabled
      Whether expired sessions should be deleted every cleanupTimeout
    • cleanupTimeout

      protected Duration cleanupTimeout
      Period to clean up expired sessions.
  • Constructor Details

    • ExpiringMap

      public ExpiringMap(@DefaultValue("true") Boolean cleanupEnabled, @DefaultValue("5m") Duration cleanupTimeout)
  • Method Details