vishnu.model.transactions
Class TransactionTerminatorImpl

java.lang.Object
  extended by vishnu.model.transactions.TransactionTerminatorImpl
All Implemented Interfaces:
TransactionTerminator

public class TransactionTerminatorImpl
extends java.lang.Object
implements TransactionTerminator

Se encargar de comitear las transaccciones, como esta sincornizado, se asegura que una transaccion comitee a la vez.

Author:
Mariano Tepper
 

Constructor Summary
TransactionTerminatorImpl(Logger<Point<Transaction>> l)
           
 
Method Summary
 void abort(Transaction t)
           
 void checkPoint()
           
 void commit(Transaction t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionTerminatorImpl

public TransactionTerminatorImpl(Logger<Point<Transaction>> l)
Method Detail

commit

public void commit(Transaction t)
Specified by:
commit in interface TransactionTerminator

abort

public void abort(Transaction t)
Specified by:
abort in interface TransactionTerminator

checkPoint

public void checkPoint()
Specified by:
checkPoint in interface TransactionTerminator