CacheFactory Class
Creates the cache
Methods
createInstance
(
-
[config]
Parameters:
-
[config]
Object optionalThe 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
FunctionCallback function