class DefaultApplicationSlaManagementService implements ApplicationSlaManagementService {

    @Override
    public Observable<Void> addApplicationSLA(ApplicationSLA applicationSLA) {
        // We trigger refresh, but not wait for the result, as we only care that first part (create) succeeded.
        return storage.create(applicationSLA).doOnCompleted(() -> capacityMonitoringService.refresh().subscribe());
    }

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

}