Class CachedClusterSettingTags
java.lang.Object
io.datarouter.util.cached.BaseCached<T>
io.datarouter.util.cached.Cached<List<DatarouterSettingTag>>
io.datarouter.storage.setting.cached.CachedClusterSettingTags
- All Implemented Interfaces:
Supplier<List<DatarouterSettingTag>>
@Singleton
public class CachedClusterSettingTags
extends io.datarouter.util.cached.Cached<List<DatarouterSettingTag>>
-
Field Summary
FieldsFields inherited from class io.datarouter.util.cached.Cached
cacheForMsFields inherited from class io.datarouter.util.cached.BaseCached
cachedAtMs, value -
Constructor Summary
ConstructorsConstructorDescriptionCachedClusterSettingTags(DatarouterServerTypeDetector datarouterServerTypeDetector) -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringprotected List<DatarouterSettingTag>reload()voidwriteToFile(String value) Methods inherited from class io.datarouter.util.cached.Cached
expire, isExpiredMethods inherited from class io.datarouter.util.cached.BaseCached
get, updateIfExpired
-
Field Details
-
CONFIG_FILENAME
- See Also:
-
-
Constructor Details
-
CachedClusterSettingTags
-
-
Method Details
-
reload
- Specified by:
reloadin classio.datarouter.util.cached.BaseCached<List<DatarouterSettingTag>>
-
writeToFile
-
getConfigFilePath
-