Click or drag to resize

JsonDb Methods

The JsonDb type exposes the following members.

Methods
 NameDescription
Public methodStatic memberGet(String, JsonDbeJsonDbResult) Retrieve a data item from the database.

This would be the same as calling Get(String, Boolean, JsonDbeJsonDbResult) with a false for the second parameter.

Public methodStatic memberGet(String, Boolean, JsonDbeJsonDbResult) Retrieve a data item from the database.
Public methodStatic memberIgnoreOwnSets Method to set the database to not trigger subscriptions for objects when the set comes from this process.
Public methodStatic memberReconnectSettings Method to set JsonDb reconnect parameters.
Public methodStatic memberSet(String) Set the value of a JSON object in the database.

The is the same as calling Set(String, Boolean, JsonDbeSaveType), with partial set to true and DataStored as parameters.

Public methodStatic memberSet(String, Boolean, JsonDbeSaveType) Set the value of a JSON object in the database.
Public methodStatic memberSetLoggingLevel Set the logging level of libraries this class interfaces with.
Public methodStatic memberSetTimeout Method to set JsonDb timeout parameter.
Public methodStatic memberShutdown Method to force close the JsonDb connection for this process.
Public methodStatic memberSubscribe(String, JsonDbJsonDbCallback) Method to allow for subscriptions to changes made to JSON objects in the database.

Adjust the setting IgnoreOwnSets(Boolean) as needed for this process.

Public methodStatic memberSubscribe(String, JsonDbJsonDbCallback) Method to allow for subscriptions to changes made to JSON objects in the database.

Adjust the setting IgnoreOwnSets(Boolean) as needed for this process.

Public methodStatic memberUnsubscribe(String) Method to remove the subscription for object changes in the database.
Public methodStatic memberUnsubscribe(String, JsonDbJsonDbCallback) Method to remove a callback from the subscription for object changes in the database.
Top
See Also