public interface RedisSessionStore extends SessionStore
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_RETRY_TIMEOUT_MS |
DEFAULT_SESSIONID_LENGTH
Modifier and Type | Method and Description |
---|---|
static RedisSessionStore |
create(Vertx vertx,
long retryTimeoutMs,
Redis redis)
Creates a RedisSessionStore with the given retry TO.
|
static RedisSessionStore |
create(Vertx vertx,
Redis redis)
Creates a RedisSessionStore with the default retry TO.
|
clear, clear, close, create, create, createSession, createSession, delete, delete, get, get, init, put, put, retryTimeout, size, size
static final long DEFAULT_RETRY_TIMEOUT_MS
static RedisSessionStore create(Vertx vertx, Redis redis)
vertx
- a Vert.x instanceredis
- A Redis clientstatic RedisSessionStore create(Vertx vertx, long retryTimeoutMs, Redis redis)
vertx
- a Vert.x instanceredis
- The given options to establish the connectionretryTimeoutMs
- The time between two consecutive triesCopyright © 2024 Eclipse. All rights reserved.