Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Redis

A simple Redis client.

Hierarchy

  • Redis

Index

Methods

batch

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

    Parameters

    Returns PromiseLike<Response>

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

    Parameters

    Returns Redis

close

  • close(): void
  • Closes the client and terminates any connection.

    Returns void

connect

  • Connects to the redis server.

    Returns PromiseLike<RedisConnection>

  • Connects to the redis server.

    Parameters

    Returns Redis

send

  • Send the given command to the redis server or cluster.

    Parameters

    Returns PromiseLike<Response>

  • Send the given command to the redis server or cluster.

    Parameters

    Returns Redis

Static createClient

  • createClient(vertx: Vertx): Redis
  • createClient(vertx: Vertx, connectionString: string): Redis
  • createClient(vertx: Vertx, options: RedisOptions): Redis
  • Create a new redis client using the default client options.

    Parameters

    • vertx: Vertx

    Returns Redis

  • Create a new redis client using the default client options. Does not support rediss (redis over ssl scheme) for now.

    Parameters

    • vertx: Vertx
    • connectionString: string

    Returns Redis

  • Create a new redis client using the given client options.

    Parameters

    Returns Redis

Generated using TypeDoc