Tabnine Logo
JMXReportingService.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.gobblin.runtime.services.JMXReportingService
constructor

Best Java code snippets using org.apache.gobblin.runtime.services.JMXReportingService.<init> (Showing top 4 results out of 315)

origin: apache/incubator-gobblin

private void addJMXReportingService() {
 addService(new JMXReportingService());
}
origin: apache/incubator-gobblin

 private GobblinHelixTaskFactory generateTaskFactory(TaskExecutor taskExecutor, Builder builder) {
  Properties properties = ConfigUtils.configToProperties(builder.getConfig());
  URI rootPathUri = PathUtils.getRootPath(builder.getAppWorkPath()).toUri();
  Config stateStoreJobConfig = ConfigUtils.propertiesToConfig(properties)
    .withValue(ConfigurationKeys.STATE_STORE_FS_URI_KEY,
      ConfigValueFactory.fromAnyRef(rootPathUri.toString()));

  TaskStateTracker taskStateTracker = new GobblinHelixTaskStateTracker(properties);

  services.add(taskExecutor);
  services.add(taskStateTracker);
  services.add(new JMXReportingService(
    ImmutableMap.of("task.executor", taskExecutor.getTaskExecutorQueueMetricSet())));

  return new GobblinHelixTaskFactory(builder,
                    taskExecutor,
                    taskStateTracker,
                    stateStoreJobConfig);
 }
}
origin: org.apache.gobblin/gobblin-runtime

private void addJMXReportingService() {
 addService(new JMXReportingService());
}
origin: org.apache.gobblin/gobblin-cluster

 private GobblinHelixTaskFactory generateTaskFactory(TaskExecutor taskExecutor, Builder builder) {
  Properties properties = ConfigUtils.configToProperties(builder.getConfig());
  URI rootPathUri = PathUtils.getRootPath(builder.getAppWorkPath()).toUri();
  Config stateStoreJobConfig = ConfigUtils.propertiesToConfig(properties)
    .withValue(ConfigurationKeys.STATE_STORE_FS_URI_KEY,
      ConfigValueFactory.fromAnyRef(rootPathUri.toString()));

  TaskStateTracker taskStateTracker = new GobblinHelixTaskStateTracker(properties);

  services.add(taskExecutor);
  services.add(taskStateTracker);
  services.add(new JMXReportingService(
    ImmutableMap.of("task.executor", taskExecutor.getTaskExecutorQueueMetricSet())));

  return new GobblinHelixTaskFactory(builder.getContainerMetrics(),
      taskExecutor,
      taskStateTracker,
      builder.getFs(),
      builder.getAppWorkPath(),
      stateStoreJobConfig,
      builder.getHelixManager());
 }
}
org.apache.gobblin.runtime.servicesJMXReportingService<init>

Popular methods of JMXReportingService

  • registerJvmMetrics
  • registerMetricSetWithPrefix

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JButton (javax.swing)
  • 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