SDK
SDK Java v2.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

Constructor #

Kuzzle's memory storage is a data store separate from the database layer. It uses Redis internally, and most of its underlying functions are exposed by Kuzzle.


MemoryStorage(Kuzzle) #

Arguments Type Description
Kuzzle object An instantiated Kuzzle SDK object

Usage #

Copied to clipboard!
// using the static instance
MemoryStorage memoryStorage = kuzzle.memoryStorage;
// or instantiating a new MemoryStorage object
MemoryStorage memoryStorage = new MemoryStorage(kuzzle);