Package io.split.engine.experiments
Interface SplitFetcher
-
- All Known Implementing Classes:
RefreshableSplitFetcher
public interface SplitFetcherCreated by adilaijaz on 5/8/15.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParsedSplitfetch(String splitName)List<ParsedSplit>fetchAll()Set<String>fetchKnownTrafficTypes()Fetches all the traffic types that are being used by the splits that are currently stored.voidforceRefresh()Forces a sync of splits, outside of any scheduled syncs.
-
-
-
Method Detail
-
fetch
ParsedSplit fetch(String splitName)
-
fetchAll
List<ParsedSplit> fetchAll()
-
fetchKnownTrafficTypes
Set<String> fetchKnownTrafficTypes()
Fetches all the traffic types that are being used by the splits that are currently stored. For example, if the fetcher currently contains three splits, one of traffic type "account" and two of traffic type "user", this method will return ["account", "user"]- Returns:
- a set of all the traffic types used by the parsed splits
-
forceRefresh
void forceRefresh()
Forces a sync of splits, outside of any scheduled syncs. This method MUST NOT throw any exceptions.
-
-