public class CacheRateStatsKeeper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CacheRateStatsKeeper.CacheRateStatsUpdateEvent |
Constructor and Description |
---|
CacheRateStatsKeeper() |
Modifier and Type | Method and Description |
---|---|
void |
buildRuleFinished(BuildRuleEvent.Finished finished) |
static CacheRateStatsKeeper.CacheRateStatsUpdateEvent |
getAggregatedCacheRateStats(com.google.common.collect.ImmutableCollection<CacheRateStatsKeeper.CacheRateStatsUpdateEvent> statsEvents) |
AtomicInteger |
getRuleCount() |
CacheRateStatsKeeper.CacheRateStatsUpdateEvent |
getStats() |
void |
ruleCountCalculated(BuildEvent.RuleCountCalculated calculated) |
void |
ruleCountUpdated(BuildEvent.UnskippedRuleCountUpdated updated) |
public void buildRuleFinished(BuildRuleEvent.Finished finished)
public void ruleCountCalculated(BuildEvent.RuleCountCalculated calculated)
public void ruleCountUpdated(BuildEvent.UnskippedRuleCountUpdated updated)
public static CacheRateStatsKeeper.CacheRateStatsUpdateEvent getAggregatedCacheRateStats(com.google.common.collect.ImmutableCollection<CacheRateStatsKeeper.CacheRateStatsUpdateEvent> statsEvents)
public CacheRateStatsKeeper.CacheRateStatsUpdateEvent getStats()
public AtomicInteger getRuleCount()