public interface LocalSessionStore extends SessionStore
Can be used when sticky sessions are being used.
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_REAPER_INTERVAL
Default of how often, in ms, to check for expired sessions
|
static String |
DEFAULT_SESSION_MAP_NAME
Default name for map used to store sessions
|
DEFAULT_SESSIONID_LENGTH
Modifier and Type | Method and Description |
---|---|
static LocalSessionStore |
create(Vertx vertx)
Create a session store
|
static LocalSessionStore |
create(Vertx vertx,
String sessionMapName)
Create a session store
|
static LocalSessionStore |
create(Vertx vertx,
String sessionMapName,
long reaperInterval)
Create a session store
|
clear, clear, close, create, createSession, createSession, delete, delete, get, get, init, put, put, retryTimeout, size, size
static final long DEFAULT_REAPER_INTERVAL
static final String DEFAULT_SESSION_MAP_NAME
static LocalSessionStore create(Vertx vertx)
create
in interface SessionStore
vertx
- the Vert.x instancestatic LocalSessionStore create(Vertx vertx, String sessionMapName)
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessionsstatic LocalSessionStore create(Vertx vertx, String sessionMapName, long reaperInterval)
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessionsreaperInterval
- how often, in ms, to check for expired sessionsCopyright © 2024 Eclipse. All rights reserved.