ConfigGet

获取 RedisGears 配置设置的值。

Redis 堆栈
public static java.lang.String configGet(java.lang.String key)

Gets the value of a RedisGears configuration setting.

Note:
You can set configuration values when you load the module or use the RG.CONFIGSET command.

Parameters

Name Type Description
key string The configuration setting to get

Returns

Returns the configuration value of a RedisGears configuration setting.

Example

GearsBuilder.configGet("ExecutionMaxIdleTime");