forked from voldemort/voldemort
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid jmx id from being incremented when factory is created for syste…
…m stores
- Loading branch information
Lei Gao
committed
Jul 10, 2012
1 parent
35a887e
commit fe46419
Showing
4 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package voldemort.client; | ||
|
||
public class SystemStoreClientFactory extends SocketStoreClientFactory { | ||
|
||
public SystemStoreClientFactory(ClientConfig config) { | ||
super(config); | ||
} | ||
|
||
@Override | ||
public int getNextJmxId() { | ||
// for system store, we don't increment jmx id | ||
return getCurrentJmxId(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters