class Archaius2Ext {

    public static Supplier<List<Duration>> asDurationList(Supplier<String> configSupplier) {
        Function<String, List<Duration>> memoizedFunction = Evaluators.memoizeLast(v -> StringExt.parseDurationMsList(v).orElse(Collections.emptyList()));
        return () -> memoizedFunction.apply(configSupplier.get());
    }

}