Module: Schematic::RedisClientInterface

Defined in:
lib/schematic/redis_cache.rb

Overview

Minimal interface describing the Redis client methods used by RedisCacheProvider. Compatible with the ‘redis’ gem’s Redis client.

Instance Method Summary collapse

Instance Method Details

#del(*keys) ⇒ Object

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/schematic/redis_cache.rb', line 21

def del(*keys)
  raise NotImplementedError
end

#get(key) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/schematic/redis_cache.rb', line 9

def get(key)
  raise NotImplementedError
end

#scan_each(match:, count:, &block) ⇒ Object

Raises:

  • (NotImplementedError)


25
26
27
# File 'lib/schematic/redis_cache.rb', line 25

def scan_each(match:, count:, &block)
  raise NotImplementedError
end

#set(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/schematic/redis_cache.rb', line 17

def set(key, value)
  raise NotImplementedError
end

#setex(key, seconds, value) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/schematic/redis_cache.rb', line 13

def setex(key, seconds, value)
  raise NotImplementedError
end