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
-
public class ClusteredSessionStore extends SessionStore
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 theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ClusteredSessionStore>__TYPE_ARGstatic longDEFAULT_RETRY_TIMEOUTDefault retry time out, in ms, for a session not found in this store.static StringDEFAULT_SESSION_MAP_NAMEThe default name used for the session mapstatic intDEFAULT_SESSIONID_LENGTHDefault length for a session id.
-
Constructor Summary
Constructors Constructor Description ClusteredSessionStore(io.vertx.ext.web.sstore.ClusteredSessionStore delegate)ClusteredSessionStore(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusteredSessionStorecreate(Vertx vertx)static ClusteredSessionStorecreate(Vertx vertx, long retryTimeout)static ClusteredSessionStorecreate(Vertx vertx, String sessionMapName)static ClusteredSessionStorecreate(Vertx vertx, String sessionMapName, long retryTimeout)booleanequals(Object o)io.vertx.ext.web.sstore.ClusteredSessionStoregetDelegate()inthashCode()static ClusteredSessionStorenewInstance(io.vertx.ext.web.sstore.ClusteredSessionStore arg)StringtoString()-
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 Detail
-
__TYPE_ARG
public static final TypeArg<ClusteredSessionStore> __TYPE_ARG
-
DEFAULT_SESSIONID_LENGTH
public static final int DEFAULT_SESSIONID_LENGTH
Default length for a session id. More info: https://www.owasp.org/index.php/Session_Management_Cheat_Sheet- See Also:
- Constant Field Values
-
DEFAULT_SESSION_MAP_NAME
public static final String DEFAULT_SESSION_MAP_NAME
The default name used for the session map- See Also:
- Constant Field Values
-
DEFAULT_RETRY_TIMEOUT
public static final long DEFAULT_RETRY_TIMEOUT
Default retry time out, in ms, for a session not found in this store.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClusteredSessionStore
public ClusteredSessionStore(io.vertx.ext.web.sstore.ClusteredSessionStore delegate)
-
ClusteredSessionStore
public ClusteredSessionStore(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.sstore.ClusteredSessionStore getDelegate()
- Overrides:
getDelegatein classSessionStore
-
toString
public String toString()
- Overrides:
toStringin classSessionStore
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSessionStore
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSessionStore
-
create
public static ClusteredSessionStore create(Vertx vertx, String sessionMapName)
- Parameters:
vertx- the Vert.x instancesessionMapName- the session map name- Returns:
- the session store
-
create
public static ClusteredSessionStore create(Vertx vertx, String sessionMapName, long retryTimeout)
- Parameters:
vertx- the Vert.x instancesessionMapName- the session map nameretryTimeout- the store retry timeout, in ms- Returns:
- the session store
-
create
public static ClusteredSessionStore create(Vertx vertx)
- Parameters:
vertx- the Vert.x instance- Returns:
- the session store
-
create
public static ClusteredSessionStore create(Vertx vertx, long retryTimeout)
- Parameters:
vertx- the Vert.x instanceretryTimeout- the store retry timeout, in ms- Returns:
- the session store
-
newInstance
public static ClusteredSessionStore newInstance(io.vertx.ext.web.sstore.ClusteredSessionStore arg)
-
-