public interface ClusteredSessionStore extends SessionStore
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_RETRY_TIMEOUT
Default retry time out, in ms, for a session not found in this store.
|
static String |
DEFAULT_SESSION_MAP_NAME
The default name used for the session map
|
DEFAULT_SESSIONID_LENGTH
Modifier and Type | Method and Description |
---|---|
static ClusteredSessionStore |
create(Vertx vertx)
Create a session store
|
static ClusteredSessionStore |
create(Vertx vertx,
long retryTimeout)
Create a session store.
The retry timeout value, configures how long the session handler will retry to get a session from the store
when it is not found.
|
static ClusteredSessionStore |
create(Vertx vertx,
String sessionMapName)
Create a session store
|
static ClusteredSessionStore |
create(Vertx vertx,
String sessionMapName,
long retryTimeout)
Create a session store.
The retry timeout value, configures how long the session handler will retry to get a session from the store
when it is not found.
|
clear, clear, close, create, createSession, createSession, delete, delete, get, get, init, put, put, retryTimeout, size, size
static final String DEFAULT_SESSION_MAP_NAME
static final long DEFAULT_RETRY_TIMEOUT
static ClusteredSessionStore create(Vertx vertx, String sessionMapName)
vertx
- the Vert.x instancesessionMapName
- the session map namestatic ClusteredSessionStore create(Vertx vertx, String sessionMapName, long retryTimeout)
vertx
- the Vert.x instancesessionMapName
- the session map nameretryTimeout
- the store retry timeout, in msstatic ClusteredSessionStore create(Vertx vertx)
create
in interface SessionStore
vertx
- the Vert.x instancestatic ClusteredSessionStore create(Vertx vertx, long retryTimeout)
vertx
- the Vert.x instanceretryTimeout
- the store retry timeout, in msCopyright © 2021 Eclipse. All rights reserved.