use of fish.payara.nucleus.executorservice.PayaraExecutorService in project Payara by payara.
the class MetricsServiceImpl method init.
@PostConstruct
public void init() {
metricsServiceConfiguration = serviceLocator.getService(MetricsServiceConfiguration.class);
// Only start if metrics are enabled
if (isEnabled()) {
PayaraExecutorService payaraExecutor = serviceLocator.getService(PayaraExecutorService.class, new Annotation[0]);
payaraExecutor.submit(this::bootstrap);
}
}
Aggregations