Class AggregatePriorityListConfigProvider
java.lang.Object
io.javaoperatorsdk.operator.config.loader.provider.AggregatePriorityListConfigProvider
- All Implemented Interfaces:
ConfigProvider
A
ConfigProvider that delegates to an ordered list of providers. Providers are queried in
list order; the first non-empty result wins.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AggregatePriorityListConfigProvider
-
-
Method Details
-
getValue
Description copied from interface:ConfigProviderReturns the value associated withkey, converted totype, or an emptyOptionalif the key is not set.- Specified by:
getValuein interfaceConfigProvider- Type Parameters:
T- the value type- Parameters:
key- the dot-separated configuration key, e.g.josdk.cache.sync.timeouttype- the expected type of the value; supported types depend on the implementation- Returns:
- an
Optionalcontaining the typed value, or empty if the key is absent
-