Class ClusteredSessionStore

java.lang.Object
io.vertx.mutiny.ext.web.sstore.SessionStore
io.vertx.mutiny.ext.web.sstore.ClusteredSessionStore
All Implemented Interfaces:
MutinyDelegate

public class ClusteredSessionStore extends SessionStore implements MutinyDelegate
A session store which stores sessions in a distributed map so they are available across the cluster.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final TypeArg<ClusteredSessionStore> __TYPE_ARG
    • DEFAULT_SESSIONID_LENGTH

      public static final int DEFAULT_SESSIONID_LENGTH
      Default length for a session id. More info: https://www.owasp.org/index.php/Session_Management_Cheat_Sheet
      See Also:
    • DEFAULT_SESSION_MAP_NAME

      public static final String DEFAULT_SESSION_MAP_NAME
      The default name used for the session map
      See Also:
    • DEFAULT_RETRY_TIMEOUT

      public static final long DEFAULT_RETRY_TIMEOUT
      Default retry time out, in ms, for a session not found in this store.
      See Also:
  • Constructor Details

    • ClusteredSessionStore

      public ClusteredSessionStore(io.vertx.ext.web.sstore.ClusteredSessionStore delegate)
    • ClusteredSessionStore

      public ClusteredSessionStore(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.sstore.ClusteredSessionStore getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Overrides:
      getDelegate in class SessionStore
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class SessionStore
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SessionStore
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SessionStore
    • create

      public static ClusteredSessionStore create(Vertx vertx, String sessionMapName)
      Parameters:
      vertx - the Vert.x instance
      sessionMapName - the session map name
      Returns:
      the session store
    • create

      public static ClusteredSessionStore create(Vertx vertx, String sessionMapName, long retryTimeout)
      Parameters:
      vertx - the Vert.x instance
      sessionMapName - the session map name
      retryTimeout - the store retry timeout, in ms
      Returns:
      the session store
    • create

      public static ClusteredSessionStore create(Vertx vertx)
      Parameters:
      vertx - the Vert.x instance
      Returns:
      the session store
    • create

      public static ClusteredSessionStore create(Vertx vertx, long retryTimeout)
      Parameters:
      vertx - the Vert.x instance
      retryTimeout - the store retry timeout, in ms
      Returns:
      the session store
    • newInstance

      public static ClusteredSessionStore newInstance(io.vertx.ext.web.sstore.ClusteredSessionStore arg)