module Legion::Extensions::Redis::Runners::Server
Public Instance Methods
flush_db(db: 0, **opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 28 def flush_db(db: 0, **opts) { results: client(db: db, **opts).flushdb(db) } end
flushall(**opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 24 def flushall(**opts) { result: client(**opts).flushall } end
keys(glob: '*', **opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 8 def keys(glob: '*', **opts) { result: client(**opts).keys(glob) } end
ping(message: nil, **opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 12 def ping(message: nil, **opts) { result: client(**opts).ping(message) } end
save(**opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 16 def save(**opts) { result: client(**opts).save } end
time(**opts)
click to toggle source
# File lib/legion/extensions/redis/runners/server.rb, line 20 def time(**opts) { result: client(**opts).time } end