class CountersDelegator extends BaseDelegator implements ICountersDelegator {

    Map<String, String> parseCounterCommandResultMaps(
            final List<Map<String, Object>> resultMaps,
            @Nonnull final Function<Map<String, Object>, Boolean> errorOrInfoStringCheckFunc)
            throws AccessException, RequestException {

        Map<String, String> counterMap = new HashMap<>();
        if (nonNull(resultMaps)) {
            for (Map<String, Object> map : resultMaps) {
                if (!errorOrInfoStringCheckFunc.apply(map)) {
                    counterMap.put(parseString(map, "counter"), parseString(map, VALUE));
                }
            }
        }
        return counterMap;
    }

    public  CountersDelegator(IOptionsServer server);

}