A session store which stores sessions in a distributed map so they are available across the cluster.
Constructor and description |
---|
ClusteredSessionStore
(java.lang.Object delegate) |
Type | Name and description |
---|---|
static ClusteredSessionStore |
create(Vertx vertx, java.lang.String sessionMapName) Create a session store |
static ClusteredSessionStore |
create(Vertx vertx, java.lang.String sessionMapName, long retryTimeout) Create a session store. |
static ClusteredSessionStore |
create(Vertx vertx) Create a session store |
static ClusteredSessionStore |
create(Vertx vertx, long retryTimeout) Create a session store. |
java.lang.Object |
getDelegate() |
Methods inherited from class | Name |
---|---|
class SessionStore |
clear, close, createSession, delete, get, getDelegate, put, retryTimeout, size |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a session store
vertx
- the Vert.x instancesessionMapName
- the session map nameCreate 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.vertx
- the Vert.x instancesessionMapName
- the session map nameretryTimeout
- the store retry timeout, in msCreate a session store
vertx
- the Vert.x instanceCreate 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.vertx
- the Vert.x instanceretryTimeout
- the store retry timeout, in ms