vertx / io.vertx.ext.web.sstore / LocalSessionStore

LocalSessionStore

interface LocalSessionStore : SessionStore

A session store which is only available on a single node.

Can be used when sticky sessions are being used.

Author
Tim Fox

Properties

DEFAULT_REAPER_INTERVAL

static val DEFAULT_REAPER_INTERVAL: Long

Default of how often, in ms, to check for expired sessions

DEFAULT_SESSION_MAP_NAME

static val DEFAULT_SESSION_MAP_NAME: String

Default name for map used to store sessions

Functions

create

open static fun create(vertx: Vertx): LocalSessionStore
open static fun create(vertx: Vertx, sessionMapName: String): LocalSessionStore
open static fun create(vertx: Vertx, sessionMapName: String, reaperInterval: Long): LocalSessionStore

Create a session store