.setMetricRegistry(SharedMetricRegistries.getOrCreate(morphlineFileAndId)) .build();
.setDocumentLoader(loader) .setExceptionHandler(faultTolerance) .setMetricRegistry(new MetricRegistry()) .build(); .setDocumentLoader(loader) .setExceptionHandler(faultTolerance) .setMetricRegistry(morphlineContext.getMetricRegistry()) .build();
.setDocumentLoader(loader) .setExceptionHandler(faultTolerance) .setMetricRegistry(new MetricRegistry()) .build(); .setDocumentLoader(loader) .setExceptionHandler(faultTolerance) .setMetricRegistry(morphlineContext.getMetricRegistry()) .build();
.setMetricRegistry(metricRegistry) .build();
.setMetricRegistry(metricRegistry) .build();
.setMetricRegistry(SharedMetricRegistries.getOrCreate(morphlineFileAndId)) .setSettings(mySettings) .build();
.setMetricRegistry(SharedMetricRegistries.getOrCreate(morphlineFileAndId)) .build();
.setExceptionHandler(ex) .setHealthCheckRegistry(healthChecks) .setMetricRegistry(metricRegistry) .build();
private MorphlineContext createMorphlineContext() { return new MorphlineContext.Builder().setMetricRegistry(new MetricRegistry()).build(); }
protected Command createMorphline(Config config) { morphContext = new MorphlineContext.Builder().setMetricRegistry(new MetricRegistry()).build(); return new PipeBuilder().build(config, null, collector, morphContext); }
private MorphlineContext createMorphlineContext() { return new MorphlineContext.Builder().setMetricRegistry(new MetricRegistry()).build(); }
private MorphlineContext createMorphlineContext() { return new MorphlineContext.Builder() .setExceptionHandler(new FaultTolerance(false, false, SolrServerException.class.getName())) .setMetricRegistry(new MetricRegistry()) .build(); }
private MorphlineContext createMorphlineContext() { return new SolrMorphlineContext.Builder() .setDocumentLoader(testServer) // .setDocumentLoader(new CollectingDocumentLoader(100)) .setExceptionHandler(new FaultTolerance(false, false, SolrServerException.class.getName())) .setMetricRegistry(new MetricRegistry()) .build(); }