code: @Override
      protected void loadMorselQueueFromSource(Queue<StorageStatsMorsel> morselQueue) {
          // generate set of morsels based on duplication policy
          try {
              for (String account : getAccountsList()) {
                  String accountPath = "/" + account;
  
                  log.debug("loading {}", account);
  
                  if (exclusionManager.isExcluded(accountPath)) {
                      continue;
                  }
  
                  AccountCredentials accountCreds = getCredentialsRepo().getAccountCredentials(account);
                  for (StorageProviderCredentials cred : accountCreds.getProviderCredentials()) {
                      String storePath = accountPath + "/" + cred.getProviderId();
                      if (exclusionManager.isExcluded(storePath)) {
                          continue;
                      }
  
                      StorageProvider store = getStorageProvider(cred);
  
                      Iterator<String> spaces = store.getSpaces();
                      while (spaces.hasNext()) {
                          String spaceId = spaces.next();
                          String spacePath = storePath + "/" + spaceId;
                          if (!exclusionManager.isExcluded(spacePath)) {
                              morselQueue.add(new StorageStatsMorsel(account,
                                                                     cred.getProviderId(),
                                                                     cred.getProviderType().name(),
                                                                     spaceId));
                          }
                      }
  
                      log.info("loaded {} into morsel queue.", account);
  
                  }
              }
          } catch (Exception e) {
              log.error(e.getMessage(), e);
              throw new DuraCloudRuntimeException(e);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.duracloud.mill.ltp.LoopingTaskProducer#loadMorselQueueFromSource(java
  .util.Queue)