storage.mechanism.Mechanism Extends
Basic interface for all storage mechanisms.

Inheritance

Constructor

goog.storage.mechanism.Mechanism()

Instance Methods

Public Protected Private
get(key) ?string
Get the value stored under a key.
Arguments:
key : string
The key to get.
Returns: ?string  The corresponding value, null if not found.
code »
remove(key)
Remove a key and its value.
Arguments:
key : string
The key to remove.
code »
set(keyvalue)
Set a value for a key.
Arguments:
key : string
The key to set.
value : string
The string to save.
code »

Package storage.mechanism

Package Reference