Search in sources :

Example 1 with LoadedClassMetric

use of com.navercorp.pinpoint.profiler.monitor.metric.loadedclass.LoadedClassMetric in project pinpoint by naver.

the class LoadedClassMetricProviderTest method get.

@Test
public void get() {
    Provider<LoadedClassMetric> provider = new LoadedClassMetricProvider();
    LoadedClassMetric loadedClassMetric = provider.get();
    LoadedClassMetricSnapshot snapshot = loadedClassMetric.getSnapshot();
    Assert.assertNotEquals(0, snapshot.getLoadedClassCount());
}
Also used : LoadedClassMetricSnapshot(com.navercorp.pinpoint.profiler.monitor.metric.loadedclass.LoadedClassMetricSnapshot) LoadedClassMetric(com.navercorp.pinpoint.profiler.monitor.metric.loadedclass.LoadedClassMetric) Test(org.junit.Test)

Aggregations

LoadedClassMetric (com.navercorp.pinpoint.profiler.monitor.metric.loadedclass.LoadedClassMetric)1 LoadedClassMetricSnapshot (com.navercorp.pinpoint.profiler.monitor.metric.loadedclass.LoadedClassMetricSnapshot)1 Test (org.junit.Test)1