KickJava   Java API By Example, From Geeks To Geeks.

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


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

4 package com.tc.object.msg;
5
6 import com.tc.bytes.TCByteBuffer;
7 import com.tc.net.protocol.tcm.ChannelID;
8 import com.tc.object.dna.impl.ObjectStringSerializer;
9 import com.tc.object.tx.TransactionBatch;
10
11 import java.util.Collection JavaDoc;
12
13 /**
14  * @author steve
15  */

16 public interface CommitTransactionMessage {
17
18   public ObjectStringSerializer getSerializer();
19
20   public void setBatch(TransactionBatch batch, ObjectStringSerializer serializer);
21
22   public TCByteBuffer[] getBatchData();
23   
24   public Collection JavaDoc addAcknowledgedTransactionIDsTo(Collection JavaDoc c);
25
26   public void send();
27   
28   public ChannelID getChannelID();
29 }
30
Popular Tags