Module io.inverno.mod.configuration
Class RedisConfigurationSource.RedisExecutableConfigurationUpdate
java.lang.Object
io.inverno.mod.configuration.source.RedisConfigurationSource.RedisExecutableConfigurationUpdate
- All Implemented Interfaces:
ExecutableConfigurationUpdate<RedisConfigurationSource.RedisConfigurationUpdate,
RedisConfigurationSource.RedisExecutableConfigurationUpdate>
- Enclosing class:
RedisConfigurationSource
public static class RedisConfigurationSource.RedisExecutableConfigurationUpdate
extends Object
implements ExecutableConfigurationUpdate<RedisConfigurationSource.RedisConfigurationUpdate,RedisConfigurationSource.RedisExecutableConfigurationUpdate>
The executable configuration update used by the Redis configuration source.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionand()
Chains another update.execute()
Executes the chain of configuration updates.withParameters
(List<ConfigurationKey.Parameter> parameters) Defines parameters that specify the context in which configuration properties are to be retrieved.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.inverno.mod.configuration.ExecutableConfigurationUpdate
withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters, withParameters
-
Method Details
-
and
Description copied from interface:ExecutableConfigurationUpdate
Chains another update.
- Specified by:
and
in interfaceExecutableConfigurationUpdate<RedisConfigurationSource.RedisConfigurationUpdate,
RedisConfigurationSource.RedisExecutableConfigurationUpdate> - Returns:
- a configuration update
-
withParameters
public RedisConfigurationSource.RedisExecutableConfigurationUpdate withParameters(List<ConfigurationKey.Parameter> parameters) throws IllegalArgumentException Description copied from interface:ExecutableConfigurationUpdate
Defines parameters that specify the context in which configuration properties are to be retrieved.
- Specified by:
withParameters
in interfaceExecutableConfigurationUpdate<RedisConfigurationSource.RedisConfigurationUpdate,
RedisConfigurationSource.RedisExecutableConfigurationUpdate> - Parameters:
parameters
- a list of parameters- Returns:
- the executable configuration update
- Throws:
IllegalArgumentException
- if parameters were specified more than once
-
execute
Description copied from interface:ExecutableConfigurationUpdate
Executes the chain of configuration updates.
Results are emitted in the same order as the queries.
- Specified by:
execute
in interfaceExecutableConfigurationUpdate<RedisConfigurationSource.RedisConfigurationUpdate,
RedisConfigurationSource.RedisExecutableConfigurationUpdate> - Returns:
- a stream of configuration update results
-