public void processReload() throws Exception {
    for (PageSubscription cursor : this.activeCursors.values()) {
      cursor.processReload();
    }

    cleanup();
  }
  public void processReload() throws Exception {
    Collection<PageSubscription> cursorList = this.activeCursors.values();
    for (PageSubscription cursor : cursorList) {
      cursor.processReload();
    }

    if (!cursorList.isEmpty()) {
      // https://issues.jboss.org/browse/JBPAPP-10338 if you ack out of order,
      // the min page could be beyond the first page.
      // we have to reload any previously acked message
      long cursorsMinPage = checkMinPage(cursorList);

      // checkMinPage will return MaxValue if there aren't any pages or any cursors
      if (cursorsMinPage != Long.MAX_VALUE) {
        for (long startPage = pagingStore.getFirstPage(); startPage < cursorsMinPage; startPage++) {
          for (PageSubscription cursor : cursorList) {
            cursor.reloadPageInfo(startPage);
          }
        }
      }
    }

    cleanup();
  }