Permalink
Browse files

Deleted unnescessary mbean registration

  • Loading branch information...
1 parent 88cb37c commit 70718b493e5d2df5cd15cd7077ea94e7dffeaf49 @zhongjiewu zhongjiewu committed Jul 10, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/java/voldemort/client/SocketStoreClientFactory.java
@@ -38,7 +38,6 @@
import voldemort.store.socket.SocketStoreFactory;
import voldemort.store.socket.clientrequest.ClientRequestExecutorPool;
import voldemort.utils.ByteArray;
-import voldemort.utils.JmxUtils;
import voldemort.versioning.InconsistencyResolver;
import voldemort.versioning.Versioned;
@@ -69,11 +68,6 @@ public SocketStoreClientFactory(ClientConfig config) {
config.getSocketBufferSize(),
config.getSocketKeepAlive(),
config.isJmxEnabled());
- if(config.isJmxEnabled())
- JmxUtils.registerMbean(storeFactory,
- JmxUtils.createObjectName(JmxUtils.getPackageName(storeFactory.getClass()),
- JmxUtils.getClassName(storeFactory.getClass())
- + jmxId()));
}
@Override

0 comments on commit 70718b4

Please sign in to comment.