/** * obtain elapsed nanoseconds for a specific key * * @param key * timer key * @return hit count for a specific key */ public long getAgeNanos(String key) { TimeStats last = EVENT_MAP.get(key); return last != null ? last.getAgeNanos() : 0; }
/** * obtain elapsed nanoseconds for a specific key * * @param key * timer key * @return hit count for a specific key */ public long getAgeNanos(String key) { TimeStats last = EVENT_MAP.get(key); return last != null ? last.getAgeNanos() : 0; }