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.objectserver.tx;
06:
07: import com.tc.l2.msg.RelayedCommitTransactionMessage;
08: import com.tc.object.msg.CommitTransactionMessage;
09:
10: import java.io.IOException;
11:
12: public interface TransactionBatchReaderFactory {
13: public TransactionBatchReader newTransactionBatchReader(
14: CommitTransactionMessage ctxt) throws IOException;
15:
16: public TransactionBatchReader newTransactionBatchReader(
17: RelayedCommitTransactionMessage commitMessage)
18: throws IOException;
19: }
|