public class RedisSessionStore extends SessionStore
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RedisSessionStore> |
__TYPE_ARG |
static long |
DEFAULT_RETRY_TIMEOUT_MS |
static int |
DEFAULT_SESSIONID_LENGTH
Default length for a session id.
|
Constructor and Description |
---|
RedisSessionStore(Object delegate) |
RedisSessionStore(RedisSessionStore delegate) |
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.
|
boolean |
equals(Object o) |
RedisSessionStore |
getDelegate() |
int |
hashCode() |
static RedisSessionStore |
newInstance(RedisSessionStore arg) |
String |
toString() |
clear, clear, close, create, create, createSession, createSession, delete, delete, get, get, init, newInstance, put, put, retryTimeout, rxClear, rxDelete, rxGet, rxPut, rxSize, size, size
public static final io.vertx.lang.rx.TypeArg<RedisSessionStore> __TYPE_ARG
public static final int DEFAULT_SESSIONID_LENGTH
public static final long DEFAULT_RETRY_TIMEOUT_MS
public RedisSessionStore(RedisSessionStore delegate)
public RedisSessionStore(Object delegate)
public String toString()
toString
in class SessionStore
public boolean equals(Object o)
equals
in class SessionStore
public int hashCode()
hashCode
in class SessionStore
public RedisSessionStore getDelegate()
getDelegate
in class SessionStore
public static RedisSessionStore create(Vertx vertx, Redis redis)
vertx
- a Vert.x instanceredis
- A Redis clientpublic static RedisSessionStore create(Vertx vertx, long retryTimeoutMs, Redis redis)
vertx
- a Vert.x instanceretryTimeoutMs
- The time between two consecutive triesredis
- The given options to establish the connectionpublic static RedisSessionStore newInstance(RedisSessionStore arg)
Copyright © 2024 Eclipse. All rights reserved.