Module io.inverno.mod.configuration
Class VersionedRedisConfigurationSource.VersionedRedisConfigurationQueryResult
java.lang.Object
io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
io.inverno.mod.configuration.source.VersionedRedisConfigurationSource.VersionedRedisConfigurationQueryResult
- All Implemented Interfaces:
ConfigurationQueryResult
- Enclosing class:
VersionedRedisConfigurationSource
public static class VersionedRedisConfigurationSource.VersionedRedisConfigurationQueryResult
extends io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
The configuration query result returned by the Redis configuration source.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Field Summary
Fields inherited from class io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
error, errorSource, queryKey, queryResult
-
Method Summary
Modifier and TypeMethodDescriptionReturns the versioned configuration key corresponding to the query that was executed.Methods inherited from class io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
getResult
-
Method Details
-
getQueryKey
Returns the versioned configuration key corresponding to the query that was executed.
The meta data in the key reflects the revision that was set when building the query (see
VersionedRedisConfigurationSource.VersionedRedisExecutableConfigurationQuery.atRevision(int)
), if no revision has been specified query key's meta data are are unset. The actual revision of a result property is provided by the meta data in the result the property key.- Specified by:
getQueryKey
in interfaceConfigurationQueryResult
- Overrides:
getQueryKey
in classio.inverno.mod.configuration.internal.GenericConfigurationQueryResult
- Returns:
- a versioned configuration key
-