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); } } });
DM dm) { TXOriginatorRecoveryProcessor processor = new TXOriginatorRecoveryProcessor(dm, members); msg.processorId = processor.getProcessorId(); msg.txLockId = txLockId; processor.waitForRepliesUninterruptibly();