A session store is used to store sessions for an Vert.x-Web web app
Anything
Object
SessionStore
Basic
Identifiable
Object
Anything
Initializer |
SessionStore(SessionStore unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
clear | shared default void clear(Anything(Throwable|Boolean) resultHandler) Remove all sessions from the store Parameters:
|
close | shared default void close() Close the store |
createSession | shared default Session createSession(Integer timeout) Create a new session Parameters:
|
delete | shared default void delete(String id, Anything(Throwable|Boolean) resultHandler) Delete the session with the specified ID Parameters:
|
get | shared default void get(String id, Anything(Throwable|Session) resultHandler) Get the session with the specified ID Parameters:
|
put | shared default void put(Session session, Anything(Throwable|Boolean) resultHandler) Add a session with the specified ID Parameters:
|
retryTimeout | shared default Integer retryTimeout() The retry timeout value in milli seconds used by the session handler when it retrieves a value from the store. A non positive value means there is no retry at all. |
size | shared default void size(Anything(Throwable|Integer) resultHandler) Get the number of sessions in the store Parameters:
|
Inherited Methods |
Methods inherited from: Object equals |