api documentation for node-cache (v4.1.1)

Simple and fast NodeJS internal caching. Node internal in memory cache like memcached.

table of contents

  1. module node-cache
    1. boolean node-cache.usingDomains
    2. function node-cache (options)
    3. function node-cache.EventEmitter ()
    4. function node-cache.init ()
    5. function node-cache.listenerCount (emitter, type)
    6. function node-cache.node_cache (options)
    7. number node-cache.defaultMaxListeners
    8. object node-cache.__super__
    9. object node-cache.node_cache.prototype
    10. string node-cache.version
  2. module node-cache.node_cache
    1. boolean node-cache.node_cache.usingDomains
    2. function node-cache.node_cache (options)
    3. function node-cache.node_cache.EventEmitter ()
    4. function node-cache.node_cache.init ()
    5. function node-cache.node_cache.listenerCount (emitter, type)
    6. number node-cache.node_cache.defaultMaxListeners
    7. object node-cache.node_cache.__super__
    8. string node-cache.node_cache.version
  3. module node-cache.node_cache.prototype
    1. function node-cache.node_cache.prototype._check (key, data)
    2. function node-cache.node_cache.prototype._checkData (startPeriod)
    3. function node-cache.node_cache.prototype._error (type, data, cb)
    4. function node-cache.node_cache.prototype._getKeyLength (key)
    5. function node-cache.node_cache.prototype._getValLength (value)
    6. function node-cache.node_cache.prototype._initErrors ()
    7. function node-cache.node_cache.prototype._isInvalidKey (key)
    8. function node-cache.node_cache.prototype._killCheckPeriod ()
    9. function node-cache.node_cache.prototype._unwrap (value, asClone)
    10. function node-cache.node_cache.prototype._wrap (value, ttl, asClone)
    11. function node-cache.node_cache.prototype.close ()
    12. function node-cache.node_cache.prototype.constructor (options)
    13. function node-cache.node_cache.prototype.del (keys, cb)
    14. function node-cache.node_cache.prototype.flushAll (_startPeriod)
    15. function node-cache.node_cache.prototype.get (key, cb, errorOnMissing)
    16. function node-cache.node_cache.prototype.getStats ()
    17. function node-cache.node_cache.prototype.getTtl (key, cb)
    18. function node-cache.node_cache.prototype.keys (cb)
    19. function node-cache.node_cache.prototype.mget (keys, cb)
    20. function node-cache.node_cache.prototype.set (key, value, ttl, cb)
    21. function node-cache.node_cache.prototype.ttl ()
    22. object node-cache.node_cache.prototype._ERRORS

module node-cache

function node-cache (options)

function node-cache.EventEmitter ()

function node-cache.init ()

function node-cache.listenerCount (emitter, type)

function node-cache.node_cache (options)

module node-cache.node_cache

function node-cache.node_cache (options)

function node-cache.node_cache.EventEmitter ()

function node-cache.node_cache.init ()

function node-cache.node_cache.listenerCount (emitter, type)

module node-cache.node_cache.prototype

function node-cache.node_cache.prototype._check (key, data)

function node-cache.node_cache.prototype._checkData (startPeriod)

function node-cache.node_cache.prototype._error (type, data, cb)

function node-cache.node_cache.prototype._getKeyLength (key)

function node-cache.node_cache.prototype._getValLength (value)

function node-cache.node_cache.prototype._initErrors ()

function node-cache.node_cache.prototype._isInvalidKey (key)

function node-cache.node_cache.prototype._killCheckPeriod ()

function node-cache.node_cache.prototype._unwrap (value, asClone)

function node-cache.node_cache.prototype._wrap (value, ttl, asClone)

function node-cache.node_cache.prototype.close ()

function node-cache.node_cache.prototype.constructor (options)

function node-cache.node_cache.prototype.del (keys, cb)

function node-cache.node_cache.prototype.flushAll (_startPeriod)

function node-cache.node_cache.prototype.get (key, cb, errorOnMissing)

function node-cache.node_cache.prototype.getStats ()

function node-cache.node_cache.prototype.getTtl (key, cb)

function node-cache.node_cache.prototype.keys (cb)

function node-cache.node_cache.prototype.mget (keys, cb)

function node-cache.node_cache.prototype.set (key, value, ttl, cb)

function node-cache.node_cache.prototype.ttl ()

[ this document was created with utility2 ]