use of com.yahoo.container.StatisticsConfig in project vespa by vespa-engine.
the class SimpleDocumentProcessorTestCase method setupDocprocService.
private static DocprocService setupDocprocService(SimpleDocumentProcessor processor) {
CallStack stack = new CallStack("default", new StatisticsImpl(new StatisticsConfig(new StatisticsConfig.Builder())), new NullMetric());
stack.addLast(processor);
DocprocService service = new DocprocService("default");
service.setCallStack(stack);
service.setInService(true);
return service;
}
Aggregations