Class ClusteredSessionStore
java.lang.Object
io.vertx.rxjava3.ext.web.sstore.SessionStore
io.vertx.rxjava3.ext.web.sstore.ClusteredSessionStore
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
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 RX-ified interface using Vert.x codegen.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<ClusteredSessionStore> static final longDefault retry time out, in ms, for a session not found in this store.static final StringThe default name used for the session mapstatic final intDefault length for a session id. -
Constructor Summary
ConstructorsConstructorDescriptionClusteredSessionStore(ClusteredSessionStore delegate) ClusteredSessionStore(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusteredSessionStoreCreate a session storestatic ClusteredSessionStoreCreate a session store.static ClusteredSessionStoreCreate a session storestatic ClusteredSessionStoreCreate a session store.booleaninthashCode()static ClusteredSessionStoretoString()Methods inherited from class SessionStore
clear, close, create, createSession, createSession, delete, get, init, newInstance, put, retryTimeout, rxClear, rxDelete, rxGet, rxPut, rxSize, size
-
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
-
ClusteredSessionStore
-
-
Method Details
-
toString
- Overrides:
toStringin classSessionStore
-
equals
- Overrides:
equalsin classSessionStore
-
hashCode
public int hashCode()- Overrides:
hashCodein classSessionStore
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classSessionStore
-
create
Create a session store- Parameters:
vertx- the Vert.x instancesessionMapName- the session map name- Returns:
- the session store
-
create
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.- Parameters:
vertx- the Vert.x instancesessionMapName- the session map nameretryTimeout- the store retry timeout, in ms- Returns:
- the session store
-
create
Create a session store- Parameters:
vertx- the Vert.x instance- Returns:
- the session store
-
create
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.- Parameters:
vertx- the Vert.x instanceretryTimeout- the store retry timeout, in ms- Returns:
- the session store
-
newInstance
-