private WriteResponseList processRecordDeletesInBatchMode(BaseRef[] refs, String methodName) {
    	ArrayList<WriteResponse> responses = new ArrayList<WriteResponse>();
		
    	BaseRef[] batch = new BaseRef[getDeleteRequestSize()];
    	for (int i=0; i<refs.length; i++) {    		
    		if (i != 0 && (i%getDeleteRequestSize() == 0)) {
    			processDeleteBatch(batch, responses, methodName);  			
    			batch = new BaseRef[getDeleteRequestSize()];    			
    		}    		
    		batch[i%getDeleteRequestSize()] = refs[i];
    	}   	
    	
    	int leftOverCount = 0;
    	for (int j=0; j<batch.length; j++)
    		if (batch[j] != null)
    			leftOverCount++;
    	
    	BaseRef[] leftOvers = new BaseRef[leftOverCount];
    	for (int j=0; j<leftOvers.length; j++)
    		leftOvers[j] = batch[j];
    	
    	processDeleteBatch(leftOvers, responses, methodName); 
		
		WriteResponseList wrl = new WriteResponseList();
    	wrl.setWriteResponse(new WriteResponse[refs.length]);
    	for (int i=0; i<responses.size();i++)
    		wrl.getWriteResponse()[i] = responses.get(i); 
    	return wrl;
    }