@Override
    public void release(final ByteBuffer byteBuffer) {
        if (byteBuffer != null && byteBuffer.isDirect()) {
            final int offset = getOffset(byteBuffer.capacity());
            if (isUnPooled(offset)) {
                ByteBufferSupport.unmap(byteBuffer);
            } else {
                pooledBufferQueues[offset].release(byteBuffer);
            }
        }
    }
@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