@Override
    public boolean recycle() {
        if (this.buffer != null) {
            if (this.buffer.capacity() > MAX_CAPACITY_TO_RECYCLE) {
                // If the size is too large, we should release it to avoid memory overhead
                this.buffer = null;
            } else {
                BufferUtils.clear(this.buffer);
            }
        }
        return recyclers.recycle(this, handle);
    }
@Test
    public void testRecycle() {
        final ByteBufferCollector object = ByteBufferCollector.allocateByRecyclers();
        object.recycle();
        final ByteBufferCollector object2 = ByteBufferCollector.allocateByRecyclers();
        Assert.assertSame(object, object2);
        object2.recycle();
    }