API Docs for: 0.8.0
Show:

CacheFactory Class

Module: dao

Creates the cache

Item Index

Properties

Methods

createInstance

(
  • [config]
)

Parameters:

  • [config] Object optional

    The Redis configuration. When not provided the configuration for this instance of PencilBlue is used. return {RedisClient}

getInstance

() Object

Retrieves the instance of Redis or FakeRedis

Returns:

Object:

client

shutdown

(
  • cb
)

Shuts down the Redis or FakeRedis instance

Parameters:

  • cb Function

    Callback function

Properties

CLIENT

RedisClient private static