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 TypeMethodDescriptionvoid
Clears the feature refresh callbacksRequired implementation to get the featuresJsonvoid
void
initialize
(Boolean retryOnFailure) void
onFeaturesRefresh
(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
-