Package org.apache.cassandra.metrics

Examples of org.apache.cassandra.metrics.ThreadPoolMetrics$ThreadPoolMetricNameFactory


                                        String jmxPath)
    {
        super(corePoolSize, maxPoolSize, keepAliveTime, unit, workQueue, threadFactory);
        super.prestartAllCoreThreads();

        metrics = new ThreadPoolMetrics(this, jmxPath, threadFactory.id);

        MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
        mbeanName = "org.apache.cassandra." + jmxPath + ":type=" + threadFactory.id;

        try
View Full Code Here


              0, // We don't use the per-channel limit, only the global one
              MAX_QUEUED_REQUESTS,
              CORE_THREAD_TIMEOUT_SEC, TimeUnit.SECONDS,
              sizeEstimator(),
              new NamedThreadFactory(THREAD_FACTORY_ID));
        metrics = new ThreadPoolMetrics(this, "transport", THREAD_FACTORY_ID);
    }
View Full Code Here

                                        String jmxPath)
    {
        super(corePoolSize, maxPoolSize, keepAliveTime, unit, workQueue, threadFactory);
        super.prestartAllCoreThreads();

        metrics = new ThreadPoolMetrics(this, jmxPath, threadFactory.id);

        MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
        mbeanName = "org.apache.cassandra." + jmxPath + ":type=" + threadFactory.id;

        try
View Full Code Here

TOP

Related Classes of org.apache.cassandra.metrics.ThreadPoolMetrics$ThreadPoolMetricNameFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.