public static class PropertiesMapCache.Factory
extends java.lang.Object
PropertiesMapCache
instances.Constructor and Description |
---|
Factory(org.springframework.core.env.Environment environment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PropertiesMapCache |
get(java.time.Duration refreshInterval,
@NotBlank java.lang.String prefix)
Create a
PropertiesMapCache with the given refresh interval and filter pattern. |
public Factory(org.springframework.core.env.Environment environment)
environment
- the environmentpublic PropertiesMapCache get(java.time.Duration refreshInterval, @NotBlank @NotBlank java.lang.String prefix)
PropertiesMapCache
with the given refresh interval and filter pattern.refreshInterval
- the refresh intervalprefix
- the prefix to match and stripPropertiesMapCache