01: /*
02: * All content copyright (c) 2003-2007 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.dmi.DmiDescriptor;
09: import com.tc.object.dna.impl.ObjectStringSerializer;
10: import com.tc.object.gtx.GlobalTransactionIDGenerator;
11: import com.tc.object.lockmanager.api.LockID;
12: import com.tc.object.tx.TransactionID;
13: import com.tc.object.tx.TxnBatchID;
14: import com.tc.object.tx.TxnType;
15: import com.tc.util.SequenceID;
16:
17: import java.util.List;
18: import java.util.Map;
19:
20: public interface ServerTransactionFactory {
21:
22: public ServerTransaction createServerTransaction(
23: GlobalTransactionIDGenerator gtxm, TxnBatchID batchID,
24: TransactionID txnID, SequenceID sequenceID, LockID[] locks,
25: NodeID source, List dnas,
26: ObjectStringSerializer serializer, Map newRoots,
27: TxnType txnType, List notifies, DmiDescriptor[] dmis);
28:
29: }
|