Skip to content
Jade Meskill edited this page Mar 31, 2016 · 1 revision

A Cache is a preconfigured object set to access an individual namespace in the Redis cache. The cacheNamespace is declared in the Task.

Example Job with Task (CSON)

SearchDevices:
  start: 'authenticate'
  tasks:
    'search-devices':
      task: 'meshblu-core-task-search-device'
      datastoreCollection: 'devices'
      cacheNamespace: 'cache:device'

See octoblu/meshblu-core-cache for more details.