public SelectBufferResult(ByteBuffer byteBuffer, long startOffset, int size, long tagCode) {
        this.startOffset = startOffset;
        this.byteBuffer = byteBuffer;
        this.size = size;
        this.tagCode = tagCode;
        this.accessCount = new AtomicLong();
    }
@Test
    public void selectBufferResultTest() {
        ByteBuffer buffer = ByteBuffer.allocate(10);
        long startOffset = 5L;
        int size = 10;
        long tagCode = 1L;

        SelectBufferResult result = new SelectBufferResult(buffer, startOffset, size, tagCode);
        Assert.assertEquals(buffer, result.getByteBuffer());
        Assert.assertEquals(startOffset, result.getStartOffset());
        Assert.assertEquals(size, result.getSize());
        Assert.assertEquals(tagCode, result.getTagCode());
    }