public class FeatureControlStreamClient extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURES_DELETED |
static String |
FEATURES_UPDATED |
| Constructor and Description |
|---|
FeatureControlStreamClient(String apiKey,
FeatureflowConfig config,
FeatureControlCache repository,
Map<CallbackEvent,List<FeatureControlCallbackHandler>> callbacks) |
public static final String FEATURES_UPDATED
public static final String FEATURES_DELETED
public FeatureControlStreamClient(String apiKey, FeatureflowConfig config, FeatureControlCache repository, Map<CallbackEvent,List<FeatureControlCallbackHandler>> callbacks)
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 eventspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic boolean initialized()
Copyright © 2017. All rights reserved.