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

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package redis
  Definition Classes
    scala
-  package client
  Definition Classes
    redis
- Command
- Redis
- RedisAPI
- RedisConnection
- RedisOptions
- Request
- Response

c

io.vertx.scala.redis.client

# Redis 

###
Companion object Redis

#### class Redis extends AnyRef

A simple Redis client.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Redis
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Redis(_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
6.  def batch(commands: Buffer[Request], onSend: Handler[AsyncResult[Buffer[Option[Response]]]]): Redis

   Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other client users.

   Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other client users. * @param commands list of command to send

   onSend

     the asynchronous result handler.

   returns

     fluent self.

7.  def batchFuture(commands: Buffer[Request]): Future[Buffer[Option[Response]]]

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

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

   Closes the client and terminates any connection.

10.  def connect(handler: Handler[AsyncResult[RedisConnection]]): Redis

    Connects to the redis server.

    Connects to the redis server. * @param handler the async result handler

    returns

      a reference to this, so the API can be used fluently

11.  def connectFuture(): Future[RedisConnection]

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

12.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
14.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
17.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
18.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
21.  def send(command: Request, onSend: Handler[AsyncResult[Option[Response]]]): Redis

    Send the given command to the redis server or cluster.

    Send the given command to the redis server or cluster. * @param command the command to send

    onSend

      the asynchronous result handler.

    returns

      fluent self.

22.  def sendFuture(command: Request): Future[Option[Response]]

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

23.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
24.  def toString(): String
    Definition Classes
      AnyRef → Any
25.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
26.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
27.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped