class HealthRetriever {

    public Health getHealth() {
        HealthCheckConfiguration healthCheckConfiguration = configuration.getHealthCheckConfiguration();
        ZonedDateTime currentTime = currentTimeSupplier.get();
        ZonedDateTime xSecondsAgo = currentTime.minusSeconds(healthCheckConfiguration.getTimeRangeInSeconds());
        List<Operation> healthCheckOperations = getHealthCheckOperations(healthCheckConfiguration, xSecondsAgo);
        return Health.fromOperations(healthCheckOperations);
    }

    @Inject public  HealthRetriever(OperationService operationService, ApplicationConfiguration configuration);
    protected  HealthRetriever(OperationService operationService, ApplicationConfiguration configuration,
                              Supplier<ZonedDateTime> currentTimeSupplier);

}