Class RedisSessionStore
java.lang.Object
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.
- Author:
- Rémy Noël
- See Also:
-
RedisSessionStore
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRedisSessionStore(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) Create a new instance ofRedisSessionStoredelegating to the given (non-null) instance ofRedisSessionStore.RedisSessionStore(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic RedisSessionStoreCreates a RedisSessionStore with the given retry TO.static RedisSessionStoreCreates a RedisSessionStore with the default retry TO.booleanio.vertx.ext.web.sstore.redis.RedisSessionStoreGet the delegate instance.inthashCode()static RedisSessionStorenewInstance(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) Creates a new instance of theRedisSessionStore.toString()
-
Field Details
-
DEFAULT_RETRY_TIMEOUT_MS
public static final long DEFAULT_RETRY_TIMEOUT_MS- See Also:
-
__TYPE_ARG
-
-
Constructor Details
-
RedisSessionStore
public RedisSessionStore(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) Create a new instance ofRedisSessionStoredelegating to the given (non-null) instance ofRedisSessionStore. -
RedisSessionStore
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.sstore.redis.RedisSessionStore getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
create
Creates a RedisSessionStore with the default retry TO.- Parameters:
vertx- a Vert.x instanceredis- A Redis client- Returns:
- the store
-
create
Creates a RedisSessionStore with the given retry TO.- Parameters:
vertx- a Vert.x instanceredis- The given options to establish the connectionretryTimeoutMs- The time between two consecutive tries- Returns:
- the store
-
newInstance
public static RedisSessionStore newInstance(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate) Creates a new instance of theRedisSessionStore. -
hashCode
public int hashCode() -
equals
-
toString
-