@@ -62,15 +62,15 @@ public class InMemoryWebSessionStore implements WebSessionStore {
62
62
* {@link IllegalStateException}.
63
63
* <p>By default set to 10000.
64
64
* @param maxSessions the maximum number of sessions
65
- * @since 5.1
65
+ * @since 5.0.8
66
66
*/
67
67
public void setMaxSessions (int maxSessions ) {
68
68
this .maxSessions = maxSessions ;
69
69
}
70
70
71
71
/**
72
72
* Return the maximum number of sessions that can be stored.
73
- * @since 5.1
73
+ * @since 5.0.8
74
74
*/
75
75
public int getMaxSessions () {
76
76
return this .maxSessions ;
@@ -102,9 +102,9 @@ public Clock getClock() {
102
102
* Return the map of sessions with an {@link Collections#unmodifiableMap
103
103
* unmodifiable} wrapper. This could be used for management purposes, to
104
104
* list active sessions, invalidate expired ones, etc.
105
- * @since 5.1
105
+ * @since 5.0.8
106
106
*/
107
- public Map <String , InMemoryWebSession > getSessions () {
107
+ public Map <String , WebSession > getSessions () {
108
108
return Collections .unmodifiableMap (this .sessions );
109
109
}
110
110
@@ -153,7 +153,7 @@ public Mono<WebSession> updateLastAccessTime(WebSession session) {
153
153
* kicked off lazily during calls to {@link #createWebSession() create} or
154
154
* {@link #retrieveSession retrieve}, no less than 60 seconds apart.
155
155
* This method can be called to force a check at a specific time.
156
- * @since 5.1
156
+ * @since 5.0.8
157
157
*/
158
158
public void removeExpiredSessions () {
159
159
this .expiredSessionChecker .removeExpiredSessions (this .clock .instant ());
0 commit comments