/** * Create LatencyMetrics with given group, type, prefix to append to each metric name, and scope. * * @param type Type name * @param namePrefix Prefix to append to each metric name * @param scope Scope of metrics */ public LatencyMetrics(String type, String namePrefix, String scope) { this(new DefaultNameFactory(type, scope), namePrefix); }
public static CassandraMetricsRegistry.MetricName createMetricName(String type, String metricName, String scope) { return new CassandraMetricsRegistry.MetricName(GROUP_NAME, type, metricName, scope, createDefaultMBeanName(type, metricName, scope)); }
public CassandraMetricsRegistry.MetricName createMetricName(String metricName) { return createMetricName(type, metricName, scope); }
MemtablePool(long maxOnHeapMemory, long maxOffHeapMemory, float cleanThreshold, Runnable cleaner) { this.onHeap = getSubPool(maxOnHeapMemory, cleanThreshold); this.offHeap = getSubPool(maxOffHeapMemory, cleanThreshold); this.cleaner = getCleaner(cleaner); blockedOnAllocating = CassandraMetricsRegistry.Metrics.timer(new DefaultNameFactory("MemtablePool") .createMetricName("BlockedOnAllocation")); if (this.cleaner != null) this.cleaner.start(); }
MemtablePool(long maxOnHeapMemory, long maxOffHeapMemory, float cleanThreshold, Runnable cleaner) { this.onHeap = getSubPool(maxOnHeapMemory, cleanThreshold); this.offHeap = getSubPool(maxOffHeapMemory, cleanThreshold); this.cleaner = getCleaner(cleaner); blockedOnAllocating = CassandraMetricsRegistry.Metrics.timer(new DefaultNameFactory("MemtablePool") .createMetricName("BlockedOnAllocation")); if (this.cleaner != null) this.cleaner.start(); }
/** * Create LatencyMetrics with given group, type, prefix to append to each metric name, and scope. * * @param type Type name * @param namePrefix Prefix to append to each metric name * @param scope Scope of metrics */ public LatencyMetrics(String type, String namePrefix, String scope) { this(new DefaultNameFactory(type, scope), namePrefix); }
MemtablePool(long maxOnHeapMemory, long maxOffHeapMemory, float cleanThreshold, Runnable cleaner) { this.onHeap = getSubPool(maxOnHeapMemory, cleanThreshold); this.offHeap = getSubPool(maxOffHeapMemory, cleanThreshold); this.cleaner = getCleaner(cleaner); blockedOnAllocating = CassandraMetricsRegistry.Metrics.timer(new DefaultNameFactory("MemtablePool") .createMetricName("BlockedOnAllocation")); if (this.cleaner != null) this.cleaner.start(); }
public CassandraMetricsRegistry.MetricName createMetricName(String metricName) { return createMetricName(type, metricName, scope); }
public static MetricName createMetricName(String type, String metricName, String scope) { return new MetricName(GROUP_NAME, type, metricName, scope, createDefaultMBeanName(type, metricName, scope)); }
/** * Create LatencyMetrics with given group, type, prefix to append to each metric name, and scope. * * @param type Type name * @param namePrefix Prefix to append to each metric name * @param scope Scope of metrics */ public LatencyMetrics(String type, String namePrefix, String scope) { this(new DefaultNameFactory(type, scope), namePrefix); }
MemtablePool(long maxOnHeapMemory, long maxOffHeapMemory, float cleanThreshold, Runnable cleaner) { this.onHeap = getSubPool(maxOnHeapMemory, cleanThreshold); this.offHeap = getSubPool(maxOffHeapMemory, cleanThreshold); this.cleaner = getCleaner(cleaner); blockedOnAllocating = CassandraMetricsRegistry.Metrics.timer(new DefaultNameFactory("MemtablePool") .createMetricName("BlockedOnAllocation")); if (this.cleaner != null) this.cleaner.start(); }
public CassandraMetricsRegistry.MetricName createMetricName(String metricName) { return createMetricName(type, metricName, scope); }
public static CassandraMetricsRegistry.MetricName createMetricName(String type, String metricName, String scope) { return new CassandraMetricsRegistry.MetricName(GROUP_NAME, type, metricName, scope, createDefaultMBeanName(type, metricName, scope)); }
/** * Create LatencyMetrics with given group, type, prefix to append to each metric name, and scope. * * @param type Type name * @param namePrefix Prefix to append to each metric name * @param scope Scope of metrics */ public LatencyMetrics(String type, String namePrefix, String scope) { this(new DefaultNameFactory(type, scope), namePrefix); }
public MetricName createMetricName(String metricName) { return createMetricName(type, metricName, scope); }
public static CassandraMetricsRegistry.MetricName createMetricName(String type, String metricName, String scope) { return new CassandraMetricsRegistry.MetricName(GROUP_NAME, type, metricName, scope, createDefaultMBeanName(type, metricName, scope)); }
public DroppedMessageMetrics(MessagingService.Verb verb) { this(new DefaultNameFactory("DroppedMessage", verb.toString())); }
public CassandraMetricsRegistry.MetricName createMetricName(String metricName) { return createMetricName(type, metricName, scope); }
public static CassandraMetricsRegistry.MetricName createMetricName(String type, String metricName, String scope) { return new CassandraMetricsRegistry.MetricName(GROUP_NAME, type, metricName, scope, createDefaultMBeanName(type, metricName, scope)); }
public DroppedMessageMetrics(MessagingService.Verb verb) { this(new DefaultNameFactory("DroppedMessage", verb.toString())); }