congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StatsProvider.createStatsLogger
Code IndexAdd Tabnine to your IDE (free)

How to use
createStatsLogger
method
in
io.pravega.shared.metrics.StatsProvider

Best Java code snippets using io.pravega.shared.metrics.StatsProvider.createStatsLogger (Showing top 2 results out of 315)

origin: pravega/pravega

@Override
public StatsLogger createStatsLogger(String scope) {
  StatsLogger logger = instance.get().createStatsLogger(scope);
  StatsLoggerProxy proxy = new StatsLoggerProxy(logger);
  statsLoggerProxies.put(proxy, scope);
  return proxy;
}
origin: pravega/pravega

void setProvider(MetricsConfig config) {
  if (config.isEnableStatistics()) {
    log.info("Stats enabled");
    instance.set(new StatsProviderImpl(config));
  } else {
    log.info("Stats disabled");
    instance.set(new NullStatsProvider());
  }
  statsLoggerProxies.forEach( (proxy, scope) -> {
    proxy.setLogger(instance.get().createStatsLogger(scope));
  });
}
io.pravega.shared.metricsStatsProvidercreateStatsLogger

Javadoc

Return the StatsLogger instance associated with the given scope.

Popular methods of StatsProvider

  • close
    Close the stats provider.
  • start
    Initialize the stats provider.
  • createDynamicLogger
    Create a dynamic logger.

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • BoxLayout (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
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