Java Code Examples for com.codahale.metrics.SharedMetricRegistries#clear()

The following examples show how to use com.codahale.metrics.SharedMetricRegistries#clear() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TimedMethodWithVisibilityModifiersTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 2
Source File: TimedMethodWithRegistryFromSharedMetricRegistriesTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 3
Source File: TimedStaticMethodWithRegistryFromStaticPropertyTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 4
Source File: TimedMethodWithNameFromElExpressionTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 5
Source File: TimedStaticMethodWithNameFromElExpressionTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@AfterClass
public static void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 6
Source File: GaugeMethodWithVisibilityModifiersTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 7
Source File: MeteredMethodWithRegistryFromStringTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 8
Source File: MultipleMetricsMethodTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 9
Source File: TimedMethodWithRegistryFromStringTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 10
Source File: ReuseSharedRegistryTest.java    From vertx-dropwizard-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public void setUp() throws Exception {
  SharedMetricRegistries.clear();
  SharedMetricRegistries.getOrCreate("the_name");
  super.setUp();
}
 
Example 11
Source File: TimedMethodWithAbsoluteNameTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 12
Source File: TimedMethodOverloadedTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 13
Source File: MetricMethodWithDefaultNamesTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 14
Source File: GaugeMethodWithRegistryFromStringTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 15
Source File: InheritedTimedMethodWithVisibilityModifiersTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 16
Source File: MeteredMethodWithExceptionsTest.java    From metrics-aspectj with Apache License 2.0 4 votes vote down vote up
@After
public void clearSharedMetricRegistries() {
    SharedMetricRegistries.clear();
}
 
Example 17
Source File: SharedRegistryTest.java    From vertx-dropwizard-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public void setUp() throws Exception {
  SharedMetricRegistries.clear();
  super.setUp();
}