Package growthbook.sdk.java.repository
Interface IGBFeaturesRepository
- All Known Implementing Classes:
GBFeaturesRepository,LocalGbFeatureRepository,NativeJavaGbFeatureRepository
public interface IGBFeaturesRepository
INTERNAL: Interface that is used internally for the
GBFeaturesRepository-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the feature refresh callbacksRequired implementation to get the featuresJsonvoidvoidinitialize(Boolean retryOnFailure) voidonFeaturesRefresh(FeatureRefreshCallback callback)
-
Method Details
-
initialize
- Throws:
FeatureFetchException
-
initialize
- Throws:
FeatureFetchException
-
getFeaturesJson
String getFeaturesJson()Required implementation to get the featuresJson- Returns:
- featuresJson String
-
onFeaturesRefresh
-
clearCallbacks
void clearCallbacks()Clears the feature refresh callbacks
-