class StagemonitorCacheUsageListener implements CacheUsageListener {

	@Override
	public void notifyGetTimeNanos(long nanos) {
		if (timeGet) {
			registry.timer(getMetricName).update(nanos, TimeUnit.NANOSECONDS);
		} else {
			registry.meter(getMetricName).mark();
		}
	}

	public  StagemonitorCacheUsageListener(String cacheName, Metric2Registry registry, boolean timeGet);

}