@Override
    public ByteBuffer acquire(final int minCapacity) {
        final int offset = getOffset(minCapacity);
        ByteBuffer buffer;
        if (isUnPooled(offset)) {
            // Too big a buffer to pool so just create one that will have to be destroyed and not put in the pool
            buffer = ByteBuffer.allocateDirect(minCapacity);
        } else {
            buffer = pooledBufferQueues[offset].getByteBuffer();
            buffer.clear();
        }
        return buffer;
    }
@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