public void run() { for (int i = 0; i < batches.length; i++) { TXLockBatch batch = (TXLockBatch) batches[i]; // send TXOriginatorDepartureMessage Set participants = batch.getParticipants(); TXOriginatorRecoveryProcessor.sendMessage( participants, owner, batch.getTXLockId(), grantor, dm); } } });