All Packages Class Hierarchy This Package Previous Next Index
Class semper.txlayer.transfer.TransferScheduler
java.lang.Object
|
+----semper.txlayer.transfer.TransferScheduler
- public class TransferScheduler
- extends Object
- implements TransferObserver
This is an experimental (=not actively used)
TransferTransaction scheduler.
Its purpose is to monitor a tree of TransferTransactions
and synchronize them.
This version has a bug and will not work.
-
TransferScheduler()
-
-
onAbort(Transaction)
- Is called when the transaction is aborted.
-
onBegin(Transaction)
- Is called when the transaction is begun.
-
onCommit(Transaction)
- Is called when the transaction is committed.
-
onEnd(Transaction)
- Is called when the transaction is ended.
-
onMakeSave(Transaction)
- Is called when the transaction saves its state to persistent storage.
-
onPrepare(Transaction)
- Is called when the TransferTransaction performs
its prepareXXX() calls.
-
onReceive(Transaction)
- Is calles when the TransferTransaction performs
its receive() call.
-
onRollback(Transaction)
- Is called when the transaction makes a rollback.
-
onSend(Transaction)
- Is called when the TransferTransaction performs
its send() call.
-
onSetSignal(Transaction)
- Is called when a signal is set in the transaction.
TransferScheduler
public TransferScheduler()
onAbort
public void onAbort(Transaction t)
- Is called when the transaction is aborted.
- Parameters:
- t - The transaction which is observered
onBegin
public void onBegin(Transaction t)
- Is called when the transaction is begun.
- Parameters:
- t - The transaction which is observered
onEnd
public void onEnd(Transaction t)
- Is called when the transaction is ended.
- Parameters:
- t - The transaction which is observered
onRollback
public void onRollback(Transaction t)
- Is called when the transaction makes a rollback.
- Parameters:
- t - The transaction which is observered
onCommit
public void onCommit(Transaction t)
- Is called when the transaction is committed.
- Parameters:
- t - The transaction which is observered
onMakeSave
public void onMakeSave(Transaction t)
- Is called when the transaction saves its state to persistent storage.
- Parameters:
- t - The transaction which is observered
onSetSignal
public void onSetSignal(Transaction t)
- Is called when a signal is set in the transaction.
- Parameters:
- t - The transaction which is observered
onPrepare
public void onPrepare(Transaction t)
- Is called when the TransferTransaction performs
its prepareXXX() calls.
- Parameters:
- t - The transaction which is observered
onSend
public void onSend(Transaction t)
- Is called when the TransferTransaction performs
its send() call.
Buggy.
- Parameters:
- t - The transaction which is observered
onReceive
public void onReceive(Transaction t)
- Is calles when the TransferTransaction performs
its receive() call.
- Parameters:
- t - The transaction which is observered
All Packages Class Hierarchy This Package Previous Next Index