Interface IRedisClient
public interface IRedisClient
-
Method Summary
Modifier and TypeMethodDescriptionretrieveSetting
(@NotNull String redisSettingIdentifier) Retrieve the data associated with a specific identifier from the Redis database.void
sendMessage
(@NotNull com.google.gson.JsonObject message, @NotNull String addonIdentifier) void
storeSettings
(String redisSettingIdentifier, String setting) Store the settings in the Redis database.
-
Method Details
-
sendMessage
void sendMessage(@NotNull @NotNull com.google.gson.JsonObject message, @NotNull @NotNull String addonIdentifier) -
retrieveSetting
Retrieve the data associated with a specific identifier from the Redis database.- Parameters:
redisSettingIdentifier
- the identifier of the setting to be checked.- Returns:
- the data as a string associated with the specified identifier
-
storeSettings
Store the settings in the Redis database. Allowing for easy access to the settings across the network. Can be retrieved on the proxy server.- Parameters:
redisSettingIdentifier
- the identifier of the setting to be checked.setting
- the setting to be stored.
-