Module: cache/database

Methods

(static) get(hash) → {Ti.Blob}

Get an entry
Parameters:
Name Type Description
hash String
Source:
Returns:
Type
Ti.Blob

(static) getSize() → {Number}

Source:
Returns:
Type
Number

(static) purge()

Prune all
Source:

(static) remove(hash)

Remove an entry
Parameters:
Name Type Description
hash String
Source:

(static) set(hash, value, ttl, info)

Set a new entry
Parameters:
Name Type Description
hash String
value Object
ttl Number
info Object
Source: