Package io.featureflow.client.core
Class FeatureControlStreamClient
java.lang.Object
io.featureflow.client.core.FeatureControlStreamClient
- All Implemented Interfaces:
Closeable,AutoCloseable
Created by oliver on 26/05/2016.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFeatureControlStreamClient(String apiKey, FeatureflowConfig config, FeatureControlCache repository, Map<CallbackEvent, List<FeatureControlCallbackHandler>> callbacks) -
Method Summary
-
Field Details
-
FEATURES_UPDATED
- See Also:
-
FEATURES_DELETED
- See Also:
-
-
Constructor Details
-
FeatureControlStreamClient
public FeatureControlStreamClient(String apiKey, FeatureflowConfig config, FeatureControlCache repository, Map<CallbackEvent, List<FeatureControlCallbackHandler>> callbacks) - Parameters:
apiKey- The featureflow api key (channel id)config- Some configrepository- The feature Control Repositorycallbacks- A Map of event, List of callback implementation for feature control events
-
-
Method Details
-
start
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
initialized
public boolean initialized()
-