public class LocalSessionStore extends SessionStore
Can be used when sticky sessions are being used.
NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<LocalSessionStore> |
__TYPE_ARG |
static long |
DEFAULT_REAPER_INTERVAL
Default of how often, in ms, to check for expired sessions
|
static String |
DEFAULT_SESSION_MAP_NAME
Default name for map used to store sessions
|
static int |
DEFAULT_SESSIONID_LENGTH
Default length for a session id.
|
Constructor and Description |
---|
LocalSessionStore(LocalSessionStore delegate) |
LocalSessionStore(Object delegate) |
Modifier and Type | Method 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
|
boolean |
equals(Object o) |
LocalSessionStore |
getDelegate() |
int |
hashCode() |
static LocalSessionStore |
newInstance(LocalSessionStore 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<LocalSessionStore> __TYPE_ARG
public static final int DEFAULT_SESSIONID_LENGTH
public static final long DEFAULT_REAPER_INTERVAL
public static final String DEFAULT_SESSION_MAP_NAME
public LocalSessionStore(LocalSessionStore delegate)
public LocalSessionStore(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 LocalSessionStore getDelegate()
getDelegate
in class SessionStore
public static LocalSessionStore create(Vertx vertx)
vertx
- the Vert.x instancepublic static LocalSessionStore create(Vertx vertx, String sessionMapName)
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessionspublic static LocalSessionStore create(Vertx vertx, String sessionMapName, long reaperInterval)
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessionsreaperInterval
- how often, in ms, to check for expired sessionspublic static LocalSessionStore newInstance(LocalSessionStore arg)
Copyright © 2024 Eclipse. All rights reserved.