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.object.tx.ServerTransactionID;
08: import com.tc.objectserver.context.CommitTransactionContext;
09: import com.tc.objectserver.context.RecallObjectsContext;
10:
11: import java.util.Collection;
12:
13: public interface TransactionalObjectManager {
14:
15: public void addTransactions(Collection txns);
16:
17: public void lookupObjectsForTransactions();
18:
19: public boolean applyTransactionComplete(ServerTransactionID stxnID);
20:
21: public void processApplyComplete();
22:
23: public void commitTransactionsComplete(CommitTransactionContext ctc);
24:
25: public void recallAllCheckedoutObject();
26:
27: public void recallCheckedoutObject(RecallObjectsContext roc);
28:
29: }
|