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.


Constructor Index

 o TransferScheduler()

Method Index

 o onAbort(Transaction)
Is called when the transaction is aborted.
 o onBegin(Transaction)
Is called when the transaction is begun.
 o onCommit(Transaction)
Is called when the transaction is committed.
 o onEnd(Transaction)
Is called when the transaction is ended.
 o onMakeSave(Transaction)
Is called when the transaction saves its state to persistent storage.
 o onPrepare(Transaction)
Is called when the TransferTransaction performs its prepareXXX() calls.
 o onReceive(Transaction)
Is calles when the TransferTransaction performs its receive() call.
 o onRollback(Transaction)
Is called when the transaction makes a rollback.
 o onSend(Transaction)
Is called when the TransferTransaction performs its send() call.
 o onSetSignal(Transaction)
Is called when a signal is set in the transaction.

Constructors

 o TransferScheduler
 public TransferScheduler()

Methods

 o onAbort
 public void onAbort(Transaction t)
Is called when the transaction is aborted.

Parameters:
t - The transaction which is observered
 o onBegin
 public void onBegin(Transaction t)
Is called when the transaction is begun.

Parameters:
t - The transaction which is observered
 o onEnd
 public void onEnd(Transaction t)
Is called when the transaction is ended.

Parameters:
t - The transaction which is observered
 o onRollback
 public void onRollback(Transaction t)
Is called when the transaction makes a rollback.

Parameters:
t - The transaction which is observered
 o onCommit
 public void onCommit(Transaction t)
Is called when the transaction is committed.

Parameters:
t - The transaction which is observered
 o onMakeSave
 public void onMakeSave(Transaction t)
Is called when the transaction saves its state to persistent storage.

Parameters:
t - The transaction which is observered
 o onSetSignal
 public void onSetSignal(Transaction t)
Is called when a signal is set in the transaction.

Parameters:
t - The transaction which is observered
 o onPrepare
 public void onPrepare(Transaction t)
Is called when the TransferTransaction performs its prepareXXX() calls.

Parameters:
t - The transaction which is observered
 o onSend
 public void onSend(Transaction t)
Is called when the TransferTransaction performs its send() call. Buggy.

Parameters:
t - The transaction which is observered
 o 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