Search in sources :

Example 1 with MetricName

use of org.apache.cassandra.metrics.CassandraMetricsRegistry.MetricName in project cassandra by apache.

the class CassandraMetricsRegistryTest method testMetricName.

@Test
public void testMetricName() {
    MetricName name = new MetricName(StrangeName$.class, "NaMe", "ScOpE");
    assertEquals("StrangeName", name.getType());
}
Also used : MetricName(org.apache.cassandra.metrics.CassandraMetricsRegistry.MetricName) Test(org.junit.Test)

Aggregations

MetricName (org.apache.cassandra.metrics.CassandraMetricsRegistry.MetricName)1 Test (org.junit.Test)1