class BatchingIdSequence implements IdSequence {

    @Override
    public IdRange nextIdBatch( int size )
    {
        while ( IdValidator.hasReservedIdInRange( nextId, nextId + size ) )
        {
            nextId += size;
        }

        long startId = nextId;
        nextId += size;
        return new IdRange( EMPTY_LONG_ARRAY, startId, size );
    }

    public  BatchingIdSequence();
    public  BatchingIdSequence( long startId );

}