@Test public void startOnThisNodeCorrespondsToConfiguration() throws Exception { assertEquals(configuration.isEnabled(), periodical.startOnThisNode()); }
@Override public boolean startOnThisNode() { return configuration.isEnabled(); }
PushGatewayPeriodical extends Periodical { @Override public boolean startOnThisNode() { return configuration.isEnabled(); } }
PushGatewayPeriodical extends Periodical { @Override public boolean startOnThisNode() { return configuration.isEnabled(); } @Inject  PushGatewayPeriodical(MetricsPrometheusReporterConfiguration configuration,
                                 CollectorRegistry collectorRegistry,
                                 PushGateway pushGateway); }
PushGatewayPeriodical extends Periodical { @Override public boolean startOnThisNode() { return configuration.isEnabled(); } @Inject  PushGatewayPeriodical(MetricsPrometheusReporterConfiguration configuration,
                                 CollectorRegistry collectorRegistry,
                                 PushGateway pushGateway); @Override void doRun(); @Override boolean runsForever(); @Override boolean stopOnGracefulShutdown(); @Override boolean masterOnly(); @Override boolean startOnThisNode(); @Override boolean isDaemon(); @Override int getInitialDelaySeconds(); @Override int getPeriodSeconds(); }
PushGatewayPeriodical extends Periodical { @Override public boolean startOnThisNode() { return configuration.isEnabled(); } @Inject  PushGatewayPeriodical(MetricsPrometheusReporterConfiguration configuration,
                                 CollectorRegistry collectorRegistry,
                                 PushGateway pushGateway); @Override void doRun(); @Override boolean runsForever(); @Override boolean stopOnGracefulShutdown(); @Override boolean masterOnly(); @Override boolean startOnThisNode(); @Override boolean isDaemon(); @Override int getInitialDelaySeconds(); @Override int getPeriodSeconds();  }