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

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package amqpbridge
  Definition Classes
    scala
-  package circuitbreaker
  Definition Classes
    scala
-  package core
  Definition Classes
    scala
-  package ext
  Definition Classes
    scala
-  package kafka
  Definition Classes
    scala
-  package mqtt
  Definition Classes
    scala
-  package rabbitmq
  Definition Classes
    scala
-  package redis
  Definition Classes
    scala
-  package op
- RedisClient
- RedisOptions
- RedisTransaction

p

io.vertx.scala

# redis 

#### package redis

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  class RedisClient extends AnyRef
2.  class RedisOptions extends NetClientOptions

   This object controls the connection setting to the Redis Server.

   This object controls the connection setting to the Redis Server. There is no need to specify most of the settings since it has built the following sensible defaults:

   * `encoding`: `UTF-8` * `host`: `localhost` * `port`: 6379 * `tcpKeepAlive`: true * `tcpNoDelay`: true * `binary`: false

   However there are two extra properties that have no defaults since they are optional:

   * `auth` * `select`

   The usage of this two extra properties is to setup required authentication and optionally the selection of the active database at connection time. If you define this extra properties on every connection to Redis server this client will perform the authentication handshake and database selection, however if you don't do this and call io.vertx.scala.redis.RedisClient yourself in case of connection failure the client will not be able to perform the correct authentication handshake.

3.  class RedisTransaction extends AnyRef

   This Interface represents a TX

### Value Members

1.  object RedisClient
2.  object RedisOptions
3.  object RedisTransaction

### Ungrouped