1 4 package com.tc.objectserver.persistence.api; 5 6 import com.tc.net.protocol.tcm.ChannelID; 7 import com.tc.object.gtx.GlobalTransactionID; 8 import com.tc.object.tx.ServerTransactionID; 9 import com.tc.objectserver.gtx.GlobalTransactionDescriptor; 10 11 import java.util.Collection ; 12 13 public interface TransactionStore { 14 15 public void commitTransactionDescriptor(PersistenceTransaction transaction, GlobalTransactionDescriptor txID); 16 17 public GlobalTransactionDescriptor getTransactionDescriptor(ServerTransactionID serverTransactionID); 18 19 public GlobalTransactionDescriptor createTransactionDescriptor(ServerTransactionID serverTransactionID); 20 21 public GlobalTransactionID getLeastGlobalTransactionID(); 22 23 26 public void removeAllByServerTransactionID(PersistenceTransaction transaction, Collection collection); 27 28 public GlobalTransactionID createGlobalTransactionID(ServerTransactionID stxnID); 29 30 public void shutdownClient(PersistenceTransaction transaction, ChannelID client); 31 } 32 | Popular Tags |