public long getGlobalStat(final String statName) { return globalStats.getLong(statName); }
/** * * @param statName the name of the statistics * @param tier the tier * @return the value for the statistics {@code statName} under {@code tier} tier * @throws NullPointerException if {@code statName} is not found */ public long getTieredStat(final String statName, final String tier) { return perTierStats.get(statName).getLong(tier); }
public long getDataSourceStat(String statName, String dataSource) { return perDataSourceStats.get(statName).getLong(dataSource); }
public long getGlobalStat(final String statName) { return globalStats.getLong(statName); }
public long getGlobalStat(final String statName) { return globalStats.getLong(statName); }
@Override public long get(K key) { return counts.getLong(key); }
public long id(Class<?> type) { return ids.getLong(type); }
/** * * @param statName the name of the statistics * @param tier the tier * @return the value for the statistics {@code statName} under {@code tier} tier * @throws NullPointerException if {@code statName} is not found */ public long getTieredStat(final String statName, final String tier) { return perTierStats.get(statName).getLong(tier); }
/** * * @param statName the name of the statistics * @param tier the tier * @return the value for the statistics {@code statName} under {@code tier} tier * @throws NullPointerException if {@code statName} is not found */ public long getTieredStat(final String statName, final String tier) { return perTierStats.get(statName).getLong(tier); }
public long getDataSourceStat(String statName, String dataSource) { return perDataSourceStats.get(statName).getLong(dataSource); }
t.userId = userIdMap.getLong(s[0]); t.timestamp = new Date(Long.parseLong(s[2]) + timestampOffset); tList.add(t);