public void set(final E element, final long offset, final long skipCount) {
        this.recordAndPosition.set(element, offset, skipCount);
        this.element = this.recordAndPosition;
    }
@Test
    void testRecycler() {
        final AtomicBoolean recycled = new AtomicBoolean();
        final SingletonResultIterator<Object> iter =
                new SingletonResultIterator<>(() -> recycled.set(true));

        iter.releaseBatch();

        assertThat(recycled.get()).isTrue();
    }