private void exec(final TaskContext taskContext, final SQLStatisticAggregateMap map) {
        securityContext.secure(() -> flush(taskContext, map));
    }
The number of records to flush to the DB in one go.
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/SQLStatisticFlushTaskHandler.java