KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > tx > TransactionBatchReader


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.objectserver.tx;
5
6 import com.tc.net.protocol.tcm.ChannelID;
7 import com.tc.object.tx.TxnBatchID;
8
9 import java.io.IOException JavaDoc;
10 import java.util.Collection JavaDoc;
11
12 public interface TransactionBatchReader {
13   public ServerTransaction getNextTransaction() throws IOException JavaDoc;
14
15   public TxnBatchID getBatchID();
16
17   public int getNumTxns();
18
19   public ChannelID getChannelID();
20
21   public Collection JavaDoc addAcknowledgedTransactionIDsTo(Collection JavaDoc c);
22
23 }
24
Popular Tags