vertx-lang-scala-docs_2.12 3.4.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package web
  Definition Classes
    ext
-  package sstore
  Definition Classes
    web
- ClusteredSessionStore
- LocalSessionStore
- SessionStore

c

io.vertx.scala.ext.web.sstore

# ClusteredSessionStore 

###
Companion object ClusteredSessionStore

#### class ClusteredSessionStore extends SessionStore

A session store which stores sessions in a distributed map so they are available across the cluster.

Linear Supertypes
SessionStore, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ClusteredSessionStore
2. SessionStore
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new ClusteredSessionStore(_asJava: AnyRef)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def asJava: AnyRef
   Definition Classes
     SessionStore
6.  def clear(resultHandler: Handler[AsyncResult[Boolean]]): Unit

   Remove all sessions from the store

   Remove all sessions from the store

   resultHandler

     will be called with a result true/false, or a failure

   Definition Classes
     SessionStore
7.  def clearFuture(): Future[Boolean]

   Like clear but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

   Like clear but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

   Definition Classes
     SessionStore
8.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
9.  def close(): Unit

   Close the store

   Close the store

   Definition Classes
     SessionStore
10.  def createSession(timeout: Long, length: Int): Session

    Create a new session

    Create a new session

    timeout

      - the session timeout, in ms

    length

      - the required length for the session id

    returns

      the session

    Definition Classes
      SessionStore
11.  def createSession(timeout: Long): Session

    Create a new session using the default min length.

    Create a new session using the default min length.

    timeout

      - the session timeout, in ms

    returns

      the session

    Definition Classes
      SessionStore
12.  def delete(id: String, resultHandler: Handler[AsyncResult[Boolean]]): Unit

    Delete the session with the specified ID

    Delete the session with the specified ID

    id

      the unique ID of the session

    resultHandler

      will be called with a result true/false, or a failure

    Definition Classes
      SessionStore
13.  def deleteFuture(id: String): Future[Boolean]

    Like delete but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Like delete but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Definition Classes
      SessionStore
14.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
15.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
16.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
17.  def get(id: String, resultHandler: Handler[AsyncResult[Session]]): Unit

    Get the session with the specified ID

    Get the session with the specified ID

    id

      the unique ID of the session

    resultHandler

      will be called with a result holding the session, or a failure

    Definition Classes
      SessionStore
18.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
19.  def getFuture(id: String): Future[Session]

    Like get but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Like get but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Definition Classes
      SessionStore
20.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
21.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
22.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
23.  final def notify(): Unit
    Definition Classes
      AnyRef
24.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
25.  def put(session: Session, resultHandler: Handler[AsyncResult[Boolean]]): Unit

    Add a session with the specified ID

    Add a session with the specified ID

    session

      the session

    resultHandler

      will be called with a result true/false, or a failure

    Definition Classes
      SessionStore
26.  def putFuture(session: Session): Future[Boolean]

    Like put but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Like put but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Definition Classes
      SessionStore
27.  def retryTimeout(): Long

    The retry timeout value in milli seconds used by the session handler when it retrieves a value from the store.

    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.

    returns

      the timeout value, in ms

    Definition Classes
      SessionStore
28.  def size(resultHandler: Handler[AsyncResult[Int]]): Unit

    Get the number of sessions in the store

    Get the number of sessions in the store

    resultHandler

      will be called with the number, or a failure

    Definition Classes
      SessionStore
29.  def sizeFuture(): Future[Int]

    Like size but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Like size but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

    Definition Classes
      SessionStore
30.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
31.  def toString(): String
    Definition Classes
      AnyRef → Any
32.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
33.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
34.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from SessionStore

### Inherited from AnyRef

### Inherited from Any

### Ungrouped