Options
All
  • Public
  • Public/Protected
  • All
Menu

Sentinel connection options.

Hierarchy

Index

Properties

Optional autoResendUnfulfilledCommands

autoResendUnfulfilledCommands: undefined | false | true

Optional autoResubscribe

autoResubscribe: undefined | false | true

Optional connectTimeout

connectTimeout: undefined | number

Optional connectionName

connectionName: undefined | string

Optional db

db: undefined | number

Optional dropBufferSupport

dropBufferSupport: undefined | false | true

Optional enableOfflineQueue

enableOfflineQueue: undefined | false | true

Optional enableReadyCheck

enableReadyCheck: undefined | false | true

Optional family

family: 4 | 6

Optional host

host: undefined | string

Optional keepAlive

keepAlive: undefined | number

Optional keyPrefix

keyPrefix: undefined | string

Optional lazyConnect

lazyConnect: undefined | false | true

name

name: string

Optional noDelay

noDelay: undefined | false | true

Optional password

password: undefined | string

Optional port

port: undefined | number

protocol

protocol: string

Optional readOnly

readOnly: undefined | false | true

Optional role

role: "master" | "slave"

sentinels

sentinels: Array<RedisSentinelAuthority>

Optional stringNumbers

stringNumbers: undefined | false | true

Optional tls

tls: Tls.TlsOptions

Methods

Optional reconnectOnError

  • reconnectOnError(error: Error): boolean | 1 | 2

Optional retryStrategy

  • retryStrategy(times: number): number | false

Optional sentinelRetryStrategy

  • sentinelRetryStrategy(times: number): number | false

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc