Class RedisSessionStore


  • public class RedisSessionStore
    extends SessionStore
    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.

    • Constructor Detail

      • RedisSessionStore

        public RedisSessionStore​(io.vertx.ext.web.sstore.redis.RedisSessionStore delegate)
      • RedisSessionStore

        public RedisSessionStore​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.sstore.redis.RedisSessionStore getDelegate()
        Overrides:
        getDelegate in class SessionStore
      • create

        public static RedisSessionStore create​(Vertx vertx,
                                               Redis redis)
        Parameters:
        vertx - a Vert.x instance
        redis - A Redis client
        Returns:
        the store
      • create

        public static RedisSessionStore create​(Vertx vertx,
                                               long retryTimeoutMs,
                                               Redis redis)
        Parameters:
        vertx - a Vert.x instance
        retryTimeoutMs - The time between two consecutive tries
        redis - The given options to establish the connection
        Returns:
        the store
      • newInstance

        public static RedisSessionStore newInstance​(io.vertx.ext.web.sstore.redis.RedisSessionStore arg)