Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abh1nay committed Jun 18, 2013
1 parent f84b947 commit 4846ecc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/java/voldemort/client/AbstractStoreClientFactory.java
Expand Up @@ -298,9 +298,9 @@ public <K, V, T> Store<K, V, T> getRawStore(String storeName,
store = new LoggingStore(store);

if(isJmxEnabled) {
store = new StatTrackingStore(store, this.stats);
// store = statStore;
JmxUtils.registerMbean(new StoreStatsJmx(((StatTrackingStore) store).getStats()),
StatTrackingStore statStore = new StatTrackingStore(store, this.stats);
store = statStore;
JmxUtils.registerMbean(new StoreStatsJmx(statStore.getStats()),
JmxUtils.createObjectName(JmxUtils.getPackageName(store.getClass()),
store.getName()
+ JmxUtils.getJmxId(jmxId)));
Expand Down

0 comments on commit 4846ecc

Please sign in to comment.