KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > tx > TransactionalObjectManager


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.objectserver.tx;
6
7 import com.tc.net.protocol.tcm.ChannelID;
8 import com.tc.object.tx.ServerTransactionID;
9 import com.tc.objectserver.context.CommitTransactionContext;
10 import com.tc.objectserver.context.RecallObjectsContext;
11
12 import java.util.Collection JavaDoc;
13 import java.util.List JavaDoc;
14
15 public interface TransactionalObjectManager {
16
17   public void addTransactions(ChannelID channelID, List JavaDoc txns, Collection JavaDoc completedTxnIds);
18
19   public void lookupObjectsForTransactions();
20
21   public boolean applyTransactionComplete(ServerTransactionID stxnID);
22   
23   public void processApplyComplete();
24
25   public void commitTransactionsComplete(CommitTransactionContext ctc);
26
27   public void recallAllCheckedoutObject();
28
29   public void recallCheckedoutObject(RecallObjectsContext roc);
30
31 }
32
Popular Tags