01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.objectserver.tx;
06:
07: import com.tc.net.groups.NodeID;
08: import com.tc.object.msg.MessageRecyclerImpl;
09: import com.tc.object.tx.ServerTransactionID;
10:
11: import java.util.Collection;
12: import java.util.Set;
13:
14: public class CommitTransactionMessageRecycler extends
15: MessageRecyclerImpl implements ServerTransactionListener {
16:
17: public CommitTransactionMessageRecycler(
18: ServerTransactionManager transactionManager) {
19: transactionManager.addTransactionListener(this );
20: }
21:
22: public void transactionCompleted(ServerTransactionID stxID) {
23: recycle(stxID);
24: }
25:
26: public void transactionApplied(ServerTransactionID stxID) {
27: return;
28: }
29:
30: public void incomingTransactions(NodeID source, Set serverTxnIDs) {
31: return;
32: }
33:
34: public void addResentServerTransactionIDs(Collection stxIDs) {
35: return;
36: }
37:
38: public void clearAllTransactionsFor(NodeID deadNode) {
39: return;
40: }
41:
42: public void transactionManagerStarted(Set cids) {
43: return;
44: }
45:
46: }
|