mechanism
: !goog.storage.mechanism.IterableMechanism
The underlying
storage mechanism.
|
maxItems
: number
Maximum number of items in storage.
|
![]()
Cleans up the storage by removing expired keys.
Arguments:
|
code » | ||||
![]()
Ensures that we keep only maxItems number of items in a local storage.
Arguments:
|
code » | ||||
Keeps the number of items in storage under maxItems. Removes elements in the
order of creation.
|
code » | ||||
Gets key list from a local storage. If an item does not exist,
may recreate it.
|
code » | ||||
Recreates a list of keys in order of creation.
|
code » | ||||
![]()
Remove an item from the data storage.
Arguments:
|
code » | ||||
![]()
Set an item in the storage.
Arguments:
|
code » | ||||
![]()
Saves a list of keys in a local storage.
|
code » |
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 » |
![]()
Remove subsequence from a sequence.
|
code » |
![]()
An item key used to store a list of keys.
|
Code » | |
![]()
No description.
|
Code » |