Tabnine Logo
MorphlineContext.getHealthCheckRegistry
Code IndexAdd Tabnine to your IDE (free)

How to use
getHealthCheckRegistry
method
in
org.kitesdk.morphline.api.MorphlineContext

Best Java code snippets using org.kitesdk.morphline.api.MorphlineContext.getHealthCheckRegistry (Showing top 5 results out of 315)

origin: kite-sdk/kite

 @Override
 protected HealthCheckRegistry getHealthCheckRegistry() {
  return context.getHealthCheckRegistry();
 }
});
origin: org.kitesdk/kite-morphlines-metrics-servlets

 @Override
 protected HealthCheckRegistry getHealthCheckRegistry() {
  return context.getHealthCheckRegistry();
 }
});
origin: kite-sdk/kite

public RegisterJVMMetrics(CommandBuilder builder, Config config, Command parent, 
                  Command child, final MorphlineContext context) {
 
 super(builder, config, parent, child, context);      
 validateArguments();
 
 MetricRegistry registry = context.getMetricRegistry();
 BufferPoolMetricSet bufferPoolMetrics = new BufferPoolMetricSet(ManagementFactory.getPlatformMBeanServer());
 registerAll("jvm.buffers", bufferPoolMetrics, registry);
 registerAll("jvm.gc", new GarbageCollectorMetricSet(), registry);
 registerAll("jvm.memory", new MemoryUsageGaugeSet(), registry);
 registerAll("jvm.threads", new ThreadStatesGaugeSet(), registry);
 register("jvm.fileDescriptorCountRatio", new FileDescriptorRatioGauge(), registry);
 context.getHealthCheckRegistry().register("deadlocks", new ThreadDeadlockHealthCheck());
}
  
origin: org.kitesdk/kite-morphlines-metrics-servlets

public RegisterJVMMetrics(CommandBuilder builder, Config config, Command parent, 
                  Command child, final MorphlineContext context) {
 
 super(builder, config, parent, child, context);      
 validateArguments();
 
 MetricRegistry registry = context.getMetricRegistry();
 BufferPoolMetricSet bufferPoolMetrics = new BufferPoolMetricSet(ManagementFactory.getPlatformMBeanServer());
 registerAll("jvm.buffers", bufferPoolMetrics, registry);
 registerAll("jvm.gc", new GarbageCollectorMetricSet(), registry);
 registerAll("jvm.memory", new MemoryUsageGaugeSet(), registry);
 registerAll("jvm.threads", new ThreadStatesGaugeSet(), registry);
 register("jvm.fileDescriptorCountRatio", new FileDescriptorRatioGauge(), registry);
 context.getHealthCheckRegistry().register("deadlocks", new ThreadDeadlockHealthCheck());
}
  
origin: kite-sdk/kite

assertSame(ex, ctx.getExceptionHandler());
assertSame(metricRegistry, ctx.getMetricRegistry());
assertSame(healthChecks, ctx.getHealthCheckRegistry());
ctx.getHealthCheckRegistry().runHealthChecks();
org.kitesdk.morphline.apiMorphlineContextgetHealthCheckRegistry

Popular methods of MorphlineContext

  • getMetricRegistry
  • getExceptionHandler
  • <init>
    For public access use Builder#build() instead
  • getSettings
  • getTopLevelClasses
    Returns all classes that implement the given interface and are contained in a Java package or its su
  • getTypedSettings
  • importCommandBuilders
  • addClass
  • getClassLoaders
  • getCommandBuilder

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • Menu (java.awt)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Top 12 Jupyter Notebook extensions
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