Codota Logo
SharedMetricRegistries.remove
Code IndexAdd Codota to your IDE (free)

How to use
remove
method
in
com.codahale.metrics.SharedMetricRegistries

Best Java code snippets using com.codahale.metrics.SharedMetricRegistries.remove (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.juzu/juzu-doc-extension-examples

@PreDestroy
public void stop() {
 SharedMetricRegistries.remove(application.getPackageName());
}
origin: juzu/juzu

@PreDestroy
public void stop() {
 SharedMetricRegistries.remove(application.getPackageName());
}
origin: io.takari.nexus/nexus-perf

public void stop() throws InterruptedException {
 SharedMetricRegistries.remove(swarmName);
 for (ClientThread thread : threads) {
  for (int i = 0; i < 3 && thread.isAlive(); i++) {
   thread.interrupt();
   thread.join(1000L);
  }
  if (thread.isAlive()) {
   StringBuilder sb = new StringBuilder(String.format("Thread %s ignored interrupt flag\n", thread.getName()));
   for (StackTraceElement f : thread.getStackTrace()) {
    sb.append("\t").append(f.toString()).append("\n");
   }
   log.error("{}", sb);
  }
 }
}
origin: io.vertx/vertx-dropwizard-metrics

@Override
public void close() {
 if (shutdown) {
  RegistryHelper.shutdown(registry);
  if (options.getRegistryName() != null) {
   SharedMetricRegistries.remove(options.getRegistryName());
  }
 }
 List<HttpClientReporter> reporters;
 synchronized (this) {
  reporters = new ArrayList<>(clientReporters.values());
 }
 for (HttpClientReporter reporter : reporters) {
  reporter.close();
 }
 if (doneHandler != null) {
  doneHandler.handle(null);
 }
}
origin: io.takari.nexus/nexus-perf

SharedMetricRegistries.remove(name);
SharedMetricRegistries.getOrCreate(name).registerAll(metricSet);
com.codahale.metricsSharedMetricRegistriesremove

Popular methods of SharedMetricRegistries

  • getOrCreate
  • add
  • clear
  • setDefault
    Sets the provided registry as the default one under the provided name
  • tryGetDefault
    Same as #getDefault() except returns null when the default registry has not been set.
  • getDefault
    Gets the name of the default registry, if it has been set
  • names

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now