| com.tc.objectserver.tx.ServerTransactionManager
All known Subclasses: com.tc.objectserver.tx.TestServerTransactionManager, com.tc.objectserver.tx.ServerTransactionManagerImpl,
ServerTransactionManager | public interface ServerTransactionManager (Code) | | |
Method Summary | |
public void | acknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee) received an acknowledgement from the client that the changes in the given transaction have been applied. | public void | addTransactionListener(ServerTransactionListener listener) | public void | addWaitingForAcknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee) | public void | apply(ServerTransaction txn, Map objects, BackReferences includeIDs, ObjectInstanceMonitor instanceMonitor) Apply the changes in the given transaction to the given set of checked out objects. | public void | broadcasted(NodeID waiter, TransactionID requestID) The broadcast stage is completed. | public void | callBackOnTxnsInSystemCompletion(TxnsInSystemCompletionLister l) | public void | commit(PersistenceTransactionProvider ptxp, Collection objects, Map newRoots, Collection appliedServerTransactionIDs) Commits all the changes in objects and releases the objects This could potentially trigger an acknowledgement to
the orginating client. | public void | dump() | public void | goToActiveMode() | public void | incomingTransactions(NodeID nodeID, Set txnIDs, Collection txns, boolean relayed) | public boolean | isWaiting(NodeID waiter, TransactionID requestID) | public void | removeTransactionListener(ServerTransactionListener listener) | public void | setResentTransactionIDs(NodeID source, Collection transactionIDs) | public void | shutdownNode(NodeID nodeID) called when a Node (Client or Server) leaves. | public void | skipApplyAndCommit(ServerTransaction txn) | public void | start(Set cids) | public void | transactionsRelayed(NodeID node, Set serverTxnIDs) |
acknowledgement | public void acknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)(Code) | | received an acknowledgement from the client that the changes in the given transaction have been applied. This could
potentially trigger an acknowledgement to the orginating client.
Parameters: waiter - - NodeID of the sender of the message that is waiting for a response Parameters: requesterID - - The id of the request sent by the channel ID that is waiting for a response Parameters: gtxID - - The GlobalTransactionID associated with the transaction. Parameters: waitee - - the channelID that waiter is waiting for a response from |
addWaitingForAcknowledgement | public void addWaitingForAcknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)(Code) | | Add "waiter/requestID" is waiting for clientID "waitee" to respond to my message send
Parameters: waiter - - ChannelID of the sender of the message that is waiting for a response Parameters: requestID - - The id of the request sent by the channel ID that is waiting for a response Parameters: waitee - - the channelID that waiter is waiting for a response from |
broadcasted | public void broadcasted(NodeID waiter, TransactionID requestID)(Code) | | The broadcast stage is completed. This could potentially trigger an acknowledgement to the orginating client.
|
goToActiveMode | public void goToActiveMode()(Code) | | |
isWaiting | public boolean isWaiting(NodeID waiter, TransactionID requestID)(Code) | | Is the waiter done waiting or does it need to continue waiting?
Parameters: waiter - - ChannelID of the sender of the message that is waiting for a response Parameters: requestID - - The id of the request sent by the channel ID that is waiting for a response |
shutdownNode | public void shutdownNode(NodeID nodeID)(Code) | | called when a Node (Client or Server) leaves.
|
skipApplyAndCommit | public void skipApplyAndCommit(ServerTransaction txn)(Code) | | Notifies the transaction managed that the given transaction is being skipped
|
transactionsRelayed | public void transactionsRelayed(NodeID node, Set serverTxnIDs)(Code) | | |
|
|