class AppendOnlyValuesContainer implements ValuesContainer {

    @Nonnull
    @Override
    public Value remove( long ref )
    {
        assertNotClosed();
        final Value removed = get( ref );
        final int chunkIdx = (int) (ref >>> 32);
        final int chunkOffset = (int) ref;
        final ByteBuffer chunk = chunks.get( chunkIdx );
        chunk.put( chunkOffset, (byte) REMOVED );
        return removed;
    }

    public  AppendOnlyValuesContainer( MemoryAllocator allocator );
    @VisibleForTesting  AppendOnlyValuesContainer( int chunkSize, MemoryAllocator allocator );

}