public PurgeCounts increment(final RefStreamPurgeCounts refStreamPurgeCounts) {
            if (refStreamPurgeCounts.isZero()) {
                return new PurgeCounts(
                        refStreamDefsDeletedCount,
                        refStreamDefsFailedCount,
                        this.refStreamPurgeCounts);
            } else if (refStreamPurgeCounts.isSuccess) {
                return new PurgeCounts(
                        refStreamDefsDeletedCount + 1,
                        refStreamDefsFailedCount,
                        this.refStreamPurgeCounts.add(refStreamPurgeCounts));
            } else {
                return new PurgeCounts(
                        refStreamDefsDeletedCount,
                        refStreamDefsFailedCount + 1,
                        this.refStreamPurgeCounts.add(refStreamPurgeCounts));
            }
        }
For use in testing at SMALL scale. Dumps the content of each DB to the logger.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/RefDataOffHeapStore.java