Clears all data for the current application.
Clears all data for all applications.
Fetches a value based on its key.
The key of the value to fetch.
The callback to fire upon success. If the key is not found, the callback will be fired with null passed in.
The callback to fire if an error occurs.
An optional flag that when set to true causes the storage mechanism to fetch the resource as a resource that is common to all applications on the same domain. Default is false.
Returns the scoring value for this provider, if supported.
Returns a new StorageStats Object.
Initializes this provider.
Returns a boolean value indicating whether or not this provider mechanism is full.
Detects whether or not this provider is supported by the current user agent.
Removes a key and associated value from the store.
The key for which key/value pair to remove.
The callback to invoke upon successfully removing the desired key/value pair.
The callback to invoke if an error occurs trying to remove the key/value pair.
An optional flag that when set to true removes a resource previously saved as a shared resource. Default is false.
Adds a new key/value pair to storage or overwrites an existing one.
The key of the value to store.
The value to store.
The callback to fire upon success.
The callback to fire if an error occurs. Passed a key, and the error that occurred.
An optional flag that when set to true causes the storage mechanism to save the resource in a way that is common to all applications on the same domain. Default is false.
Detects whether or not this provider is supported by the current user agent.
The key prefix for this provider. This will be used to segregate stored values between applications.