Class RedisSessionStore
java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.redis.RedisSessionStore
- All Implemented Interfaces:
MutinyDelegate
A SessionStore that uses a Redis to store the sessions and associated data.
This assumes that the redis logical database (i.e. select) is only used
to store the sessions to make size query reliable.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<RedisSessionStore>static final longstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionRedisSessionStore(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) RedisSessionStore(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic RedisSessionStorestatic RedisSessionStorebooleanio.vertx.ext.web.sstore.redis.RedisSessionStoreinthashCode()static RedisSessionStorenewInstance(io.vertx.ext.web.sstore.redis.RedisSessionStore arg) toString()Methods inherited from class io.vertx.mutiny.ext.web.sstore.SessionStore
clear, clearAndAwait, clearAndForget, close, create, 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_LENGTH- See Also:
-
DEFAULT_RETRY_TIMEOUT_MS
public static final long DEFAULT_RETRY_TIMEOUT_MS- See Also:
-
-
Constructor Details
-
RedisSessionStore
public RedisSessionStore(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) -
RedisSessionStore
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.sstore.redis.RedisSessionStore getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classSessionStore- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toStringin classSessionStore
-
equals
- Overrides:
equalsin classSessionStore
-
hashCode
public int hashCode()- Overrides:
hashCodein classSessionStore
-
create
- Parameters:
vertx- a Vert.x instanceredis- A Redis client- Returns:
- the store
-
create
- Parameters:
vertx- a Vert.x instanceretryTimeoutMs- The time between two consecutive triesredis- The given options to establish the connection- Returns:
- the store
-
newInstance
-