Package growthbook.sdk.java.featurefetch
Class FeatureRefreshScheduler
java.lang.Object
growthbook.sdk.java.featurefetch.FeatureRefreshScheduler
Owns refresh execution mode selection and background refresh scheduling.
Repositories provide the actual refresh operation. This class decides
whether the operation should run synchronously or in the background refresh
executor based on RefreshMode.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrequestRefresh(RefreshMode refreshMode, FeatureRefreshScheduler.FeatureRefreshAction refreshAction) voidshutdown()
-
Constructor Details
-
FeatureRefreshScheduler
public FeatureRefreshScheduler()
-
-
Method Details
-
requestRefresh
public void requestRefresh(RefreshMode refreshMode, FeatureRefreshScheduler.FeatureRefreshAction refreshAction) -
shutdown
public void shutdown()
-