class HiccupMeter {

    @PreDestroy
    public void shutdown() {
        doRun = false;
        sensors.forEach(HiccupSensor::shutdown);
        if (controller.isAlive()) {
            try {
                controller.join();
            } catch (InterruptedException e) {
                logger.warn("HiccupMeter terminate/join interrupted");
            }

        }
    }

    @Inject public  HiccupMeter(HiccupRecorderConfiguration configuration, Registry registry);

}