vertx / io.vertx.ext.web.sstore / ClusteredSessionStore / create

create

open static fun create(vertx: Vertx, sessionMapName: String): ClusteredSessionStore

Create a session store

Parameters

vertx - the Vert.x instance

sessionMapName - the session map name

Return
the session store

open static fun create(vertx: Vertx, sessionMapName: String, retryTimeout: Long): ClusteredSessionStore

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 instance

sessionMapName - the session map name

retryTimeout - the store retry timeout, in ms

Return
the session store

open static fun create(vertx: Vertx): ClusteredSessionStore

Create a session store

Parameters

vertx - the Vert.x instance

Return
the session store

open static fun create(vertx: Vertx, retryTimeout: Long): ClusteredSessionStore

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 instance

retryTimeout - the store retry timeout, in ms

Return
the session store