Sha256: 26088f98e786f7524143d1bd5c566076231de4a9804c917607cdb1312b257696
Contents?: true
Size: 1.41 KB
Versions: 8
Compression:
Stored size: 1.41 KB
Contents
# frozen_string_literal: true class ActiveOrm::Redis::Connection < ActiveOrm::Redis::Base class << self def authenticate(password) client.auth(password) end def connected? client.connected? end def database(index) client.select(index) end def database_id client.database_id end def database_size client.dbsize end def debug(*args) client.debug(args) end def disconnect client.disconnect end def echo(message) client.echo(message) end def flush client.flushdb end def flush_all client.flushall end def info client.info end def ping client.ping end def quit client.quit end def reconnect client.reconnect end def rewrite_aof client.bgrewriteaof end def save client.bgsave end def saved_at client.lastsave end def shutdown client.shutdown end def slave_of(host, port) client.slaveof(host, port) end def slowlog(command, length = nil) client.slowlog(command, length) end def synchronize client.synchronize end def time client.time end def with_reconnect(&block) client.with_reconnect(true, &block) end def without_reconnect(&block) client.with_reconnect(false, &block) end end end
Version data entries
8 entries across 8 versions & 1 rubygems