KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > msg > BroadcastTransactionMessage


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