Ejemplo n.º 1
0
 private void initializeTxIfFirst() {
   // The main point of initializing transaction (for HA) is in TransactionImpl, so this is
   // for that extra point where grabbing a lock
   Transaction tx = tm.getTransaction();
   if (!txHook.hasAnyLocks(tx)) txHook.initializeTransaction(tm.getEventIdentifier());
 }
Ejemplo n.º 2
0
 private int getLocalTxId() {
   return tm.getEventIdentifier();
 }