use of com.hazelcast.transaction.impl.operations.CreateTxBackupLogOperation in project hazelcast by hazelcast.
the class TransactionImpl method forceCreateBackupLogs.
private void forceCreateBackupLogs() {
backupLogsCreated = true;
OperationService operationService = nodeEngine.getOperationService();
List<Future> futures = new ArrayList<Future>(backupAddresses.length);
for (Address backupAddress : backupAddresses) {
if (nodeEngine.getClusterService().getMember(backupAddress) != null) {
final CreateTxBackupLogOperation op = createCreateTxBackupLogOperation();
Future f = operationService.invokeOnTarget(SERVICE_NAME, op, backupAddress);
futures.add(f);
}
}
waitWithDeadline(futures, timeoutMillis, MILLISECONDS, replicationTxExceptionHandler);
}
Aggregations