docs: private void load(QueueItem item) throws Exception {
          int bulkLoad = store.getBulkLoad();
          bulkLoad = Math.min(getItemQueue().size(), bulkLoad);
          if (bulkLoad == 1) {
              item.setData(store.load(item.getItemId()));
          } else if (bulkLoad > 1) {
              long maxIdToLoad = -1;
              Iterator<QueueItem> iterator = getItemQueue().iterator();
              Set<Long> keySet = createHashSet(bulkLoad);
  
              keySet.add(item.getItemId());
              while (keySet.size() < bulkLoad && iterator.hasNext()) {
                  long itemId = iterator.next().getItemId();
                  if (itemId > lastIdLoaded) {
                      keySet.add(itemId);
                      maxIdToLoad = Math.max(itemId, maxIdToLoad);
                  }
              }
  
              Map<Long, Data> values = store.loadAll(keySet);
              lastIdLoaded = maxIdToLoad;
              dataMap.putAll(values);
              item.setData(getDataFromMap(item.getItemId()));
          }
      }