Package io.vertx.mutiny.ext.web.sstore
Class LocalSessionStore
java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.LocalSessionStore
- All Implemented Interfaces:
MutinyDelegate
A session store which is only available on a single node.
Can be used when sticky sessions are being used.
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<LocalSessionStore>
static final long
Default of how often, in ms, to check for expired sessionsstatic final String
Default name for map used to store sessionsstatic final int
Default length for a session id. -
Constructor Summary
ConstructorsConstructorDescriptionLocalSessionStore
(io.vertx.ext.web.sstore.LocalSessionStore delegate) LocalSessionStore
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalSessionStore
static LocalSessionStore
static LocalSessionStore
boolean
io.vertx.ext.web.sstore.LocalSessionStore
int
hashCode()
static LocalSessionStore
newInstance
(io.vertx.ext.web.sstore.LocalSessionStore 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_REAPER_INTERVAL
public static final long DEFAULT_REAPER_INTERVALDefault of how often, in ms, to check for expired sessions- See Also:
-
DEFAULT_SESSION_MAP_NAME
Default name for map used to store sessions- See Also:
-
-
Constructor Details
-
LocalSessionStore
public LocalSessionStore(io.vertx.ext.web.sstore.LocalSessionStore delegate) -
LocalSessionStore
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.sstore.LocalSessionStore 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 instance- Returns:
- the session store
-
create
- Parameters:
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessions- Returns:
- the session store
-
create
- Parameters:
vertx
- the Vert.x instancesessionMapName
- name for map used to store sessionsreaperInterval
- how often, in ms, to check for expired sessions- Returns:
- the session store
-
newInstance
-