Class: Storage

Inherits:
Closeable show all
Defined in:
lib/ff/ruby/server/sdk/common/storage.rb

Direct Known Subclasses

FileMapStore

Instance Method Summary collapse

Methods inherited from Closeable

#close

Constructor Details

#initializeStorage

Returns a new instance of Storage.



5
6
7
8
# File 'lib/ff/ruby/server/sdk/common/storage.rb', line 5

def initialize

  @tbi = "To be implemented"
end

Instance Method Details

#delete(key) ⇒ Object

Raises:

  • (@tbi)


20
21
22
23
# File 'lib/ff/ruby/server/sdk/common/storage.rb', line 20

def delete(key)

  raise @tbi
end

#get(key) ⇒ Object

Raises:

  • (@tbi)


15
16
17
18
# File 'lib/ff/ruby/server/sdk/common/storage.rb', line 15

def get(key)

  raise @tbi
end

#keysObject

Raises:

  • (@tbi)


25
26
27
28
# File 'lib/ff/ruby/server/sdk/common/storage.rb', line 25

def keys

  raise @tbi
end

#set(key, value) ⇒ Object

Raises:

  • (@tbi)


10
11
12
13
# File 'lib/ff/ruby/server/sdk/common/storage.rb', line 10

def set(key, value)

  raise @tbi
end