class DefaultApplicationSlaManagementService implements ApplicationSlaManagementService {

    @Override
    public Collection<ApplicationSLA> getApplicationSLAsForScheduler(String schedulerName) {
        return storage.findBySchedulerName(schedulerName)
                .doOnError(t -> logger.error("Error retrieving ApplicationSLAs for schedulerName " + schedulerName, t))
                .toList()
                .toBlocking()
                .firstOrDefault(Collections.emptyList());
    }

    @Inject public  DefaultApplicationSlaManagementService(CapacityMonitoringService capacityMonitoringService,
                                                  ApplicationSlaStore storage,
                                                  ManagementSubsystemInitializer initializer);

}