public class CoordinatorStats extends Object
| Constructor and Description | 
|---|
CoordinatorStats()  | 
| Modifier and Type | Method and Description | 
|---|---|
CoordinatorStats | 
accumulate(CoordinatorStats stats)  | 
void | 
addToGlobalStat(String statName,
               long value)  | 
void | 
addToTieredStat(String statName,
               String tier,
               long value)  | 
void | 
forEachTieredStat(String statName,
                 ObjLongConsumer<String> consumer)  | 
long | 
getGlobalStat(String statName)  | 
long | 
getTieredStat(String statName,
             String tier)  | 
Set<String> | 
getTiers(String statName)  | 
boolean | 
hasPerTierStats()  | 
public boolean hasPerTierStats()
public long getTieredStat(String statName, String tier)
statName - the name of the statisticstier - the tierstatName under tier tierNullPointerException - if statName is not foundpublic void forEachTieredStat(String statName, ObjLongConsumer<String> consumer)
public long getGlobalStat(String statName)
public void addToGlobalStat(String statName, long value)
public CoordinatorStats accumulate(CoordinatorStats stats)
Copyright © 2011–2018. All rights reserved.