Module: Redis::Commands::Server

Included in:
Redis::Commands
Defined in:
sig/redis.rbs

Instance Method Summary collapse

Instance Method Details

#bgrewriteaofString

Returns:

  • (String)


490
# File 'sig/redis.rbs', line 490

def bgrewriteaof: () -> String

#bgsaveString

Returns:

  • (String)


492
# File 'sig/redis.rbs', line 492

def bgsave: () -> String

#clientString, Hash[untyped, untyped]

Parameters:

  • subcommand (String, Symbol)
  • args (Object)

Returns:

  • (String, Hash[untyped, untyped])


496
# File 'sig/redis.rbs', line 496

def client: ((String | Symbol) subcommand, *untyped args) -> (String | Hash[untyped, untyped])

#configString, Hash[untyped, untyped]

Parameters:

  • action (Symbol)
  • args (Object)

Returns:

  • (String, Hash[untyped, untyped])


494
# File 'sig/redis.rbs', line 494

def config: (Symbol action, *untyped args) -> (String | Hash[untyped, untyped])

#dbsizeInteger

Returns:

  • (Integer)


498
# File 'sig/redis.rbs', line 498

def dbsize: () -> Integer

#debugObject

Parameters:

  • args (Object)

Returns:

  • (Object)


522
# File 'sig/redis.rbs', line 522

def debug: (*untyped args) -> untyped

#flushallString

Parameters:

  • options (Hash[untyped, untyped])

Returns:

  • (String)


500
# File 'sig/redis.rbs', line 500

def flushall: (?Hash[untyped, untyped] options) -> String

#flushdbString

Parameters:

  • options (Hash[untyped, untyped])

Returns:

  • (String)


502
# File 'sig/redis.rbs', line 502

def flushdb: (?Hash[untyped, untyped] options) -> String

#infoHash[String, String]

Parameters:

  • cmd (?(String | Symbol))

Returns:

  • (Hash[String, String])


504
# File 'sig/redis.rbs', line 504

def info: (?(String | Symbol) cmd) -> Hash[String, String]

#lastsaveInteger

Returns:

  • (Integer)


506
# File 'sig/redis.rbs', line 506

def lastsave: () -> Integer

#monitor {|arg0| ... } ⇒ Object

Yields:

Yield Parameters:

  • arg0 (Object)

Yield Returns:

  • (Object)

Returns:

  • (Object)


508
# File 'sig/redis.rbs', line 508

def monitor: () { (untyped) -> untyped } -> untyped

#saveString

Returns:

  • (String)


510
# File 'sig/redis.rbs', line 510

def save: () -> String

#shutdownObject

Returns:

  • (Object)


512
# File 'sig/redis.rbs', line 512

def shutdown: () -> untyped

#slaveofObject

Parameters:

  • host (Object)
  • port (Object)

Returns:

  • (Object)


514
# File 'sig/redis.rbs', line 514

def slaveof: (untyped host, untyped port) -> untyped

#slowlogArray[String], ...

Parameters:

  • subcommand (String)
  • length (Integer)

Returns:

  • (Array[String], Integer, String)


516
# File 'sig/redis.rbs', line 516

def slowlog: (String subcommand, ?Integer length) -> (Array[String] | Integer | String)

#syncObject

Returns:

  • (Object)


518
# File 'sig/redis.rbs', line 518

def sync: () -> untyped

#timeArray[Integer]

Returns:

  • (Array[Integer])


520
# File 'sig/redis.rbs', line 520

def time: () -> Array[Integer]