KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > gtx > ClientGlobalTransactionManager


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.gtx;
5
6 import com.tc.net.protocol.tcm.ChannelID;
7 import com.tc.object.lockmanager.api.LockFlushCallback;
8 import com.tc.object.lockmanager.api.LockID;
9 import com.tc.object.tx.TransactionID;
10
11 import java.util.Collection JavaDoc;
12
13 public interface ClientGlobalTransactionManager extends GlobalTransactionManager {
14   public void setLowWatermark(GlobalTransactionID lowWatermark);
15
16   public void flush(LockID lockID);
17
18   public void unpause();
19
20   public void pause();
21   
22   public void starting();
23
24   public void resendOutstanding();
25
26   public Collection JavaDoc getTransactionSequenceIDs();
27   
28   public Collection JavaDoc getResentTransactionIDs();
29
30   public boolean startApply(ChannelID committerID, TransactionID transactionID, GlobalTransactionID globalTransactionID);
31
32   /**
33    * Returns the number of transactions currently being accounted for.
34    */

35   public int size();
36
37   public void resendOutstandingAndUnpause();
38
39   public boolean isTransactionsForLockFlushed(LockID lockID, LockFlushCallback callback);
40 }
41
Popular Tags