public class LabelReporter extends SignalAwaitingService
| Constructor and Description |
|---|
LabelReporter(String host,
Map<String,String> labels,
NodeUpdaterFactory nodeUpdaterFactory,
CountDownLatch zkRegistrationSignal) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
runOneIteration() |
protected ScheduledFuture<?> |
schedule(Runnable runnable,
ScheduledExecutorService executorService) |
beforeIterationshutDown, startUppublic LabelReporter(String host, Map<String,String> labels, NodeUpdaterFactory nodeUpdaterFactory, CountDownLatch zkRegistrationSignal)
protected void runOneIteration()
throws InterruptedException
runOneIteration in class InterruptingScheduledServiceInterruptedExceptionprotected ScheduledFuture<?> schedule(Runnable runnable, ScheduledExecutorService executorService)
schedule in class InterruptingScheduledServiceCopyright © 2017. All rights reserved.