KickJava   Java API By Example, From Geeks To Geeks.

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


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.TransactionID;
8 import com.tc.object.tx.TxnBatchID;
9
10 public interface TransactionBatchManager {
11
12   public void defineBatch(ChannelID channelID, TxnBatchID batchID, int numTxns) throws BatchDefinedException;
13
14   public boolean batchComponentComplete(ChannelID channelID, TxnBatchID batchID, TransactionID txnID)
15       throws NoSuchBatchException;
16
17   public void shutdownClient(ChannelID channelID);
18 }
19
Popular Tags