goog.storage.Storage | |
goog.storage.RichStorage | goog.storage.Storage |
goog.storage.ExpiringStorage | goog.storage.RichStorage |
goog.storage.CollectableStorage | goog.storage.ExpiringStorage |
goog.labs.storage.BoundedCollectableStorage | goog.storage.CollectableStorage |
goog.storage.EncryptedStorage | goog.storage.CollectableStorage |
mechanism
: !goog.storage.mechanism.IterableMechanism
The underlying
storage mechanism.
|
Get an item wrapper (the item and its metadata) from the storage.
|
code » | ||||
![]()
Set an item in the storage.
Arguments:
|
code » |
![]()
No description.
|
code » | |
Get an item wrapper (the item and its metadata) from the storage.
WARNING: This returns an Object, which once used to be
goog.storage.RichStorage.Wrapper. This is due to the fact
that deserialized objects lose type information and it
is hard to do proper typecasting in JavaScript. Be sure
you know what you are doing when using the returned value.
|
code » | |
![]()
No description.
|
code » |
![]()
Gets an item from the data storage.
Arguments:
Returns: *
Deserialized value or undefined if not found.
|
code » | |||
![]()
Removes an item from the data storage.
Arguments:
|
code » | |||
![]()
Sets an item in the data storage.
Arguments:
|
code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |
The mechanism used to persist key-value pairs.
|
Code » |
![]()
No description.
|
Code » |