@Override
    public SystemInfoResult getSystemInfo() {
        final List<String> poolDetails;
        if (objectPool == null) {
            poolDetails = null;
        } else {
            poolDetails = objectPool.listAllObjects()
                    .stream()
                    .map(DefaultPooledObjectInfo::getPooledObjectToString)
                    .collect(Collectors.toList());
        }

        return SystemInfoResult.builder(this)
                .addDetail("poolObjects", poolDetails)
                .build();
    }
@param eventsBatch A batch of {@link StatisticEvent} all with the same statistic name
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/SQLStatisticEventStore.java