@Override
    public void clear() {
        // Allows the UI to clear buffers sat in the pool. Buffers on loan are unaffected
        final List<String> msgs = new ArrayList<>();
        for (final PooledByteBufferQueue pooledBufferQueue : pooledBufferQueues) {
            if (pooledBufferQueue != null) {
                pooledBufferQueue.clear(msgs);
            }
        }

        LOGGER.info("Cleared the following buffers from the pool (buffer size:number cleared) - " +
                String.join(", ", msgs));
    }
@param n The number to test
@return True if n is a power of ten, e.g. if n==10
stroom-bytebuffer/src/main/java/stroom/bytebuffer/impl6/ByteBufferPoolImpl6.java