A session store which is only available on a single node.
Can be used when sticky sessions are being used.
| Constructor and description |
|---|
LocalSessionStore
(Object delegate) |
| Type | Name 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 |
Object |
getDelegate() |
| Methods inherited from class | Name |
|---|---|
class SessionStore |
clear, close, createSession, delete, get, getDelegate, put, size |
Create a session store
vertx - the Vert.x instanceCreate a session store
vertx - the Vert.x instancesessionMapName - name for map used to store sessionsCreate a session store
vertx - the Vert.x instancesessionMapName - name for map used to store sessionsreaperInterval - how often, in ms, to check for expired sessionsio.vertx:vertx-web:3.1.0