Class RefreshableStringSupplier
java.lang.Object
io.datarouter.instrumentation.refreshable.BaseMemoizedRefreshableSupplier<String>
io.datarouter.instrumentation.refreshable.RefreshableStringSupplier
- All Implemented Interfaces:
Refreshable,RefreshableSupplier<String>,Supplier<String>
-
Field Summary
Fields inherited from class io.datarouter.instrumentation.refreshable.BaseMemoizedRefreshableSupplier
DEFAULT_ATTEMPT_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRefreshableStringSupplier(Supplier<String> supplier) RefreshableStringSupplier(Supplier<String> supplier, Duration minimumTtl) RefreshableStringSupplier(Supplier<String> supplier, Duration minimumTtl, Duration attemptInterval) -
Method Summary
Methods inherited from class io.datarouter.instrumentation.refreshable.BaseMemoizedRefreshableSupplier
get, refresh
-
Constructor Details
-
RefreshableStringSupplier
-
RefreshableStringSupplier
-
RefreshableStringSupplier
-
-
Method Details
-
readNewValue
- Specified by:
readNewValuein classBaseMemoizedRefreshableSupplier<String>
-
getIdentifier
- Specified by:
getIdentifierin classBaseMemoizedRefreshableSupplier<String>
-