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

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

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

origin: pravega/pravega

@Override
public void clear() {
  getInstance().clear();
}
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 long get() {
    return getInstance().get();
  }
}
origin: pravega/pravega

@Override
public void dec() {
  getInstance().dec();
}
origin: pravega/pravega

@Override
public void inc() {
  getInstance().inc();
}
origin: pravega/pravega

@Override
public void add(long delta) {
  getInstance().add(delta);
}
io.pravega.shared.metricsCounterProxy

Most used methods

  • getInstance
  • getProxyName
  • updateInstance

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top Vim plugins
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