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 ;10 import java.util.Collection ;11 12 public interface TransactionBatchReader {13 public ServerTransaction getNextTransaction() throws IOException ;14 15 public TxnBatchID getBatchID();16 17 public int getNumTxns();18 19 public ChannelID getChannelID();20 21 public Collection addAcknowledgedTransactionIDsTo(Collection c);22 23 }24