class ArchaiusEffectiveJobDisruptionBudgetResolver implements EffectiveJobDisruptionBudgetResolver {

    private DisruptionBudget refresh() {
        Property<String> property = repository.get(PROPERTY_KEY, String.class);
        if (property == null || StringExt.isEmpty(property.get())) {
            return DEFAULT_SELF_MANAGED_FALLBACK_JOB_DISRUPTION_BUDGET;
        }
        try {
            return parse(property.get());
        } catch (Exception e) {
            logger.warn("invalid SelfManaged fallback disruption budget configuration ({})", e.getMessage());
            return DEFAULT_SELF_MANAGED_FALLBACK_JOB_DISRUPTION_BUDGET;
        }
    }

    @Inject public  ArchaiusEffectiveJobDisruptionBudgetResolver(PropertyRepository repository,
                                                        @Named(JOB_STRICT_SANITIZER) EntitySanitizer sanitizer);

}