Tabnine Logo
MeterProxy
Code IndexAdd Tabnine to your IDE (free)

How to use
MeterProxy
in
io.pravega.shared.metrics

Best Java code snippets using io.pravega.shared.metrics.MeterProxy (Showing top 4 results out of 315)

origin: pravega/pravega

  @Override
  public long getCount() {
    return getInstance().getCount();
  }
}
origin: pravega/pravega

void setLogger(StatsLogger logger) {
  this.statsLoggerRef.set(logger);
  this.opStatsLoggers.values().forEach(v -> v.updateInstance(this.statsLoggerRef.get().createStats(v.getProxyName())));
  this.counters.values().forEach(v -> v.updateInstance(this.statsLoggerRef.get().createCounter(v.getProxyName())));
  this.meters.values().forEach(v -> v.updateInstance(this.statsLoggerRef.get().createMeter(v.getProxyName())));
  this.gauges.values().forEach(v -> v.updateInstance(this.statsLoggerRef.get().registerGauge(v.getProxyName(), v.getValueSupplier())));
}
origin: pravega/pravega

@Override
public void recordEvents(long n) {
  getInstance().recordEvents(n);
}
origin: pravega/pravega

@Override
public void recordEvent() {
  getInstance().recordEvent();
}
io.pravega.shared.metricsMeterProxy

Most used methods

  • getInstance
  • getProxyName
  • updateInstance

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • putExtra (Intent)
  • getApplicationContext (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now