1 4 package com.tc.objectserver.gtx; 5 6 import com.tc.net.protocol.tcm.ChannelID; 7 import com.tc.object.gtx.GlobalTransactionID; 8 import com.tc.object.gtx.GlobalTransactionManager; 9 import com.tc.object.tx.ServerTransactionID; 10 import com.tc.objectserver.persistence.api.PersistenceTransaction; 11 import com.tc.objectserver.tx.ServerTransactionListener; 12 13 import java.util.Collection ; 14 15 public interface ServerGlobalTransactionManager extends GlobalTransactionManager, ServerTransactionListener { 16 17 22 public boolean needsApply(ServerTransactionID stxID); 23 24 27 public void commit(PersistenceTransaction persistenceTransaction, ServerTransactionID stxID); 28 29 32 public void commitAll(PersistenceTransaction persistenceTransaction, Collection gtxIDs); 33 34 39 public void completeTransactions(PersistenceTransaction tx, Collection collection); 40 41 public void shutdownClient(ChannelID channelID); 42 43 public GlobalTransactionID createGlobalTransactionID(ServerTransactionID stxnID); 44 45 } 46 | Popular Tags |