private static void logBatchToDebug(final List<SimpleMeta> metaList) {
        LOGGER.debug("Metas in batch: {}, IDs: {} => {}",
                metaList.size(),
                metaList.stream()
                        .mapToLong(SimpleMeta::getId)
                        .min()
                        .orElse(-1),
                metaList.stream()
                        .mapToLong(SimpleMeta::getId)
                        .max()
                        .orElse(-1));
    }
API used by the tasks to interface to the stream store under the bonnet.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/FsOrphanMetaFinder.java