Interface SplitFetcher

All Known Implementing Classes:
RefreshableSplitFetcher

public interface SplitFetcher
Created by adilaijaz on 5/8/15.
  • Method Details

    • 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.