Package io.vertx.mutiny.ext.web.sstore
Class ClusteredSessionStore
java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.ClusteredSessionStore
- All Implemented Interfaces:
MutinyDelegate
A session store which stores sessions in a distributed map so they are available across the cluster.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<ClusteredSessionStore>
static final long
Default retry time out, in ms, for a session not found in this store.static final String
The default name used for the session mapstatic final int
Default length for a session id. -
Constructor Summary
ConstructorsConstructorDescriptionClusteredSessionStore
(io.vertx.ext.web.sstore.ClusteredSessionStore delegate) ClusteredSessionStore
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusteredSessionStore
static ClusteredSessionStore
static ClusteredSessionStore
static ClusteredSessionStore
boolean
io.vertx.ext.web.sstore.ClusteredSessionStore
int
hashCode()
static ClusteredSessionStore
newInstance
(io.vertx.ext.web.sstore.ClusteredSessionStore arg) toString()
Methods inherited from class io.vertx.mutiny.ext.web.sstore.SessionStore
clear, clearAndAwait, clearAndForget, close, create, createSession, createSession, delete, deleteAndAwait, deleteAndForget, get, getAndAwait, getAndForget, init, newInstance, put, putAndAwait, putAndForget, retryTimeout, size, sizeAndAwait, sizeAndForget
-
Field Details
-
__TYPE_ARG
-
DEFAULT_SESSIONID_LENGTH
public static final int DEFAULT_SESSIONID_LENGTHDefault length for a session id. More info: https://www.owasp.org/index.php/Session_Management_Cheat_Sheet- See Also:
-
DEFAULT_SESSION_MAP_NAME
The default name used for the session map- See Also:
-
DEFAULT_RETRY_TIMEOUT
public static final long DEFAULT_RETRY_TIMEOUTDefault retry time out, in ms, for a session not found in this store.- See Also:
-
-
Constructor Details
-
ClusteredSessionStore
public ClusteredSessionStore(io.vertx.ext.web.sstore.ClusteredSessionStore delegate) -
ClusteredSessionStore
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.sstore.ClusteredSessionStore getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classSessionStore
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toString
in classSessionStore
-
equals
- Overrides:
equals
in classSessionStore
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSessionStore
-
create
- Parameters:
vertx
- the Vert.x instancesessionMapName
- the session map name- Returns:
- the session store
-
create
- Parameters:
vertx
- the Vert.x instancesessionMapName
- the session map nameretryTimeout
- the store retry timeout, in ms- Returns:
- the session store
-
create
- Parameters:
vertx
- the Vert.x instance- Returns:
- the session store
-
create
- Parameters:
vertx
- the Vert.x instanceretryTimeout
- the store retry timeout, in ms- Returns:
- the session store
-
newInstance
-