Module: Fino::Cache

Included in:
Memory
Defined in:
lib/fino/cache.rb

Defined Under Namespace

Classes: Memory

Instance Method Summary collapse

Instance Method Details

#clearObject

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/fino/cache.rb', line 28

def clear
  raise NotImplementedError
end

#delete(key) ⇒ Object

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/fino/cache.rb', line 24

def delete(key)
  raise NotImplementedError
end

#exist?(key) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/fino/cache.rb', line 4

def exist?(key)
  raise NotImplementedError
end

#fetch(key) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/fino/cache.rb', line 16

def fetch(key, &)
  raise NotImplementedError
end

#fetch_multi(*keys) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/fino/cache.rb', line 20

def fetch_multi(*keys, &)
  raise NotImplementedError
end

#read(key) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/fino/cache.rb', line 8

def read(key)
  raise NotImplementedError
end

#write(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/fino/cache.rb', line 12

def write(key, value)
  raise NotImplementedError
end