expiringstorage.js
No description.

File Location

/goog/storage/expiringstorage.js

Classes

goog.storage.ExpiringStorage
Provides a storage with expirning keys.

Public Protected Private

Global Functions

goog.storage.ExpiringStorage.getCreationTime(wrapper) number | undefined
Returns the wrapper creation time.
Arguments:
wrapper : !Object
The wrapper.
Returns: number | undefined  Wrapper creation time.
code »
goog.storage.ExpiringStorage.getExpirationTime(wrapper) number | undefined
Returns the wrapper expiration time.
Arguments:
wrapper : !Object
The wrapper.
Returns: number | undefined  Wrapper expiration time.
code »
goog.storage.ExpiringStorage.isExpired(wrapper) boolean
Checks if the data item has expired.
Arguments:
wrapper : !Object
The wrapper.
Returns: boolean  True if the item has expired.
code »

Directory storage

File Reference