Class: Renderful::Cache::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/renderful/cache/base.rb

Direct Known Subclasses

Null, Redis

Instance Method Summary collapse

Instance Method Details

#delete(*_keys) ⇒ Object

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/renderful/cache/base.rb', line 18

def delete(*_keys)
  raise NotImplementedError
end

#delete_matched(_pattern) ⇒ Object

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/renderful/cache/base.rb', line 22

def delete_matched(_pattern)
  raise NotImplementedError
end

#exist?(_key) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/renderful/cache/base.rb', line 6

def exist?(_key)
  raise NotImplementedError
end

#fetch(_key) ⇒ Object

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/renderful/cache/base.rb', line 26

def fetch(_key)
  raise NotImplementedError
end

#read(_key) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/renderful/cache/base.rb', line 10

def read(_key)
  raise NotImplementedError
end

#write(_key, _value) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/renderful/cache/base.rb', line 14

def write(_key, _value)
  raise NotImplementedError
end