class JournalWaitDelegator extends BaseDelegator implements IJournalWaitDelegator {

    @Override
    public void journalWait(final JournalWaitOptions opts) throws P4JavaException {
        List<Map<String, Object>> resultMaps = execMapCmdList(JOURNALWAIT,
                processParameters(opts, server), null);

        if (nonNull(resultMaps)) {
            for (Map<String, Object> map : resultMaps) {
                String errStr = ResultMapParser.getErrorStr(map);
                throwRequestExceptionIfConditionFails(isBlank(errStr), parseCode0ErrorString(map),
                        errStr);
            }
        }
    }

    public  JournalWaitDelegator(final IOptionsServer server);

}