/** * Checks if mapped transaction can be committed on one phase. * One-phase commit can be done if transaction maps to one primary node and not more than one backup. * * @param txMapping Transaction mapping. */ final void checkOnePhase(GridDhtTxMapping txMapping) { checkOnePhase(tx.transactionNodes()); }
/** * Checks if mapped transaction can be committed on one phase. * One-phase commit can be done if transaction maps to one primary node and not more than one backup. * * @param txMapping Transaction mapping. */ final void checkOnePhase(GridDhtTxMapping txMapping) { checkOnePhase(tx.transactionNodes()); }