mirror of https://github.com/apache/cassandra
move commitlog jmx to cassandra.db. patch by Robert Coli; reviewed by jbellis for CASSANDRA-748
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a354d037c
commit
92b9e41e23
6
NEWS.txt
6
NEWS.txt
|
|
@ -25,13 +25,13 @@ JMX metrics
|
|||
-----------
|
||||
- read and write statistics are reported as lifetime totals,
|
||||
instead of averages over the last minute.
|
||||
- cache hit rate statistics are now available from JMX under
|
||||
org.apache.cassandra.db.Caches
|
||||
- compaction JMX metrics are moved to
|
||||
org.apache.cassandra.db.CompactionManager. PendingTasks is now
|
||||
a much better estimate of compactions remaining, and the
|
||||
progress of the current compaction has been added.
|
||||
- cache hit rate statistics are now available from JMX under
|
||||
org.apache.cassandra.db.Caches
|
||||
|
||||
- commitlog JMX metrics are moved to org.apache.cassandra.db.Commitlog
|
||||
|
||||
|
||||
0.5.0
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ public class CommitLogExecutorService extends AbstractExecutorService implements
|
|||
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
|
||||
try
|
||||
{
|
||||
mbs.registerMBean(this, new ObjectName("org.apache.cassandra.concurrent:type=COMMITLOG"));
|
||||
mbs.registerMBean(this, new ObjectName("org.apache.cassandra.db:type=Commitlog"));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue