Interface DeadStoreStats


public interface DeadStoreStats
  • Method Summary

    Modifier and Type
    Method
    Description
    getDeadStores(List<StoreInfo> storeInfos, Map<String,String> params)
    Side effect operation of populating isStoreDead and setStoreDeadStatusReasons in the StoreInfo object and returns back the same list of StoreInfo objects.
    void
    Pre fetches the dead store stats for the given stores, to then be accessible to getDeadStores() In the case where fetching dead store stats is latency intensive, this method can be used to pre-populate dead store stats
  • Method Details

    • getDeadStores

      List<StoreInfo> getDeadStores(List<StoreInfo> storeInfos, Map<String,String> params)
      Side effect operation of populating isStoreDead and setStoreDeadStatusReasons in the StoreInfo object and returns back the same list of StoreInfo objects.
      Parameters:
      storeInfos - List of StoreInfo objects to evaluate
      params - Parameters for dead store detection including: - "lookBackMS": long (optional) - Look back time in milliseconds for dead store detection - Future extension points
    • preFetchStats

      void preFetchStats(List<StoreInfo> storeInfos)
      Pre fetches the dead store stats for the given stores, to then be accessible to getDeadStores() In the case where fetching dead store stats is latency intensive, this method can be used to pre-populate dead store stats
      Parameters:
      storeInfos - List of StoreInfo objects to pre-fetch stats for.