Add meter metrics for memcached

This commit is contained in:
Charles Allen 2015-09-22 12:50:54 -07:00
parent 46ba60f10f
commit 4308aa93e2
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ public class MemcachedCache implements Cache
for (Map.Entry<String, AtomicLong> entry : counters.entrySet()) {
builder.put(entry.getKey(), entry.getValue().get());
}
for (Map.Entry<String, AtomicLong> entry : meters.entrySet()) {
builder.put(entry.getKey(), entry.getValue().get());
}
return builder.build();
}
};