class ProcessingTimeServiceImpl implements ProcessingTimeService {

	@Override
	public CompletableFuture<Void> quiesce() {
		if (!quiesced) {
			quiesced = true;

			if (numRunningTimers.get() == 0) {
				quiesceCompletedFuture.complete(null);
			}
		}

		return quiesceCompletedFuture;
	}

	  ProcessingTimeServiceImpl(
			TimerService timerService,
			Function<ProcessingTimeCallback, ProcessingTimeCallback> processingTimeCallbackWrapper);

}