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.object.msg;
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.GlobalTransactionID;
11: import com.tc.object.lockmanager.api.LockID;
12: import com.tc.object.tx.TransactionID;
13: import com.tc.object.tx.TxnType;
14:
15: import java.util.Collection;
16: import java.util.List;
17: import java.util.Map;
18: import java.util.Set;
19:
20: public interface BroadcastTransactionMessage {
21:
22: public void initialize(List chges, Set lookupObjectIDs,
23: ObjectStringSerializer aSerializer, LockID[] lids,
24: long cid, TransactionID txID, NodeID commitID,
25: GlobalTransactionID gtx, TxnType txnType,
26: GlobalTransactionID lowGlobalTransactionIDWatermark,
27: Collection notifies, Map newRoots, DmiDescriptor[] dmis);
28:
29: public List getLockIDs();
30:
31: public TxnType getTransactionType();
32:
33: public Collection getObjectChanges();
34:
35: public Set getLookupObjectIDs();
36:
37: public long getChangeID();
38:
39: public TransactionID getTransactionID();
40:
41: public NodeID getCommitterID();
42:
43: public GlobalTransactionID getGlobalTransactionID();
44:
45: public GlobalTransactionID getLowGlobalTransactionIDWatermark();
46:
47: public Collection addNotifiesTo(List c);
48:
49: public Map getNewRoots();
50:
51: public List getDmiDescriptors();
52:
53: public void send();
54:
55: }
|