public class ClusteredSessionStore extends SessionStore
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ClusteredSessionStore> |
__TYPE_ARG |
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
|
static int |
DEFAULT_SESSIONID_LENGTH
Default length for a session id.
|
Constructor and Description |
---|
ClusteredSessionStore(ClusteredSessionStore delegate) |
ClusteredSessionStore(Object delegate) |
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.
|
boolean |
equals(Object o) |
ClusteredSessionStore |
getDelegate() |
int |
hashCode() |
static ClusteredSessionStore |
newInstance(ClusteredSessionStore arg) |
String |
toString() |
clear, clear, close, 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<ClusteredSessionStore> __TYPE_ARG
public static final int DEFAULT_SESSIONID_LENGTH
public static final String DEFAULT_SESSION_MAP_NAME
public static final long DEFAULT_RETRY_TIMEOUT
public ClusteredSessionStore(ClusteredSessionStore delegate)
public ClusteredSessionStore(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 ClusteredSessionStore getDelegate()
getDelegate
in class SessionStore
public static ClusteredSessionStore create(Vertx vertx, String sessionMapName)
vertx
- the Vert.x instancesessionMapName
- the session map namepublic static ClusteredSessionStore create(Vertx vertx, String sessionMapName, long retryTimeout)
vertx
- the Vert.x instancesessionMapName
- the session map nameretryTimeout
- the store retry timeout, in mspublic static ClusteredSessionStore create(Vertx vertx)
vertx
- the Vert.x instancepublic static ClusteredSessionStore create(Vertx vertx, long retryTimeout)
vertx
- the Vert.x instanceretryTimeout
- the store retry timeout, in mspublic static ClusteredSessionStore newInstance(ClusteredSessionStore arg)
Copyright © 2024 Eclipse. All rights reserved.