197198199200201202203204205206207
// isolate doDelete boolean retry = true; while (retry) { try (final Tx tx = app.tx()) { result = resource.doDelete(); tx.success(); retry = false; } catch (DeadlockDetectedException ddex) { retry = true;