Class PropertiesMapCache.Factory
java.lang.Object
com.netflix.genie.common.internal.util.PropertiesMapCache.Factory
- Enclosing class:
- PropertiesMapCache
Factory class that produces
PropertiesMapCache instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate aPropertiesMapCachewith the given refresh interval and filter pattern.
-
Constructor Details
-
Factory
public Factory(org.springframework.core.env.Environment environment) Constructor.- Parameters:
environment- the environment
-
-
Method Details
-
get
Create aPropertiesMapCachewith the given refresh interval and filter pattern.- Parameters:
refreshInterval- the refresh intervalprefix- the prefix to match and strip- Returns:
- a
PropertiesMapCache
-