#NEWLINE# def read_many( self , start_sequence , min_count , max_count ) : #NEWLINE# #INDENT# check_not_negative ( start_sequence , "sequence can't be smaller than 0" ) #NEWLINE# check_true ( ( max_count >= min_count ) , 'max count should be greater or equal to min count' ) #NEWLINE# check_true ( ( max_count <= self . capacity ( ) . result ( ) ) , 'min count should be smaller or equal to capacity' ) #NEWLINE# check_true ( ( max_count < MAX_BATCH_SIZE ) , ( "max count can't be greater than %d" % MAX_BATCH_SIZE ) ) #NEWLINE# return self . _encode_invoke ( ringbuffer_read_many_codec , response_handler = self . _read_many_response_handler , start_sequence = start_sequence , min_count = min_count , max_count = max_count , filter = None )