Codota Logo
MorphlineContext.getHealthCheckRegistry
Code IndexAdd Codota 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)

  • Common ways to obtain MorphlineContext
private void myMethod () {
MorphlineContext m =
  • Codota Iconnew MorphlineContext.Builder().build()
  • Smart code suggestions by Codota
}
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

  • Making http post requests using okhttp
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now