1 4 package com.tc.objectserver.persistence.impl; 5 6 import com.tc.objectserver.gtx.GlobalTransactionDescriptor; 7 import com.tc.objectserver.persistence.api.PersistenceTransaction; 8 import com.tc.objectserver.persistence.api.TransactionPersistor; 9 10 import java.util.Collection ; 11 import java.util.Collections ; 12 13 public class NullTransactionPersistor implements TransactionPersistor { 14 15 public Collection loadAllGlobalTransactionDescriptors() { 16 return Collections.EMPTY_SET; 17 } 18 19 public void saveGlobalTransactionDescriptor(PersistenceTransaction tx, GlobalTransactionDescriptor gtx) { 20 return; 21 } 22 23 public void deleteAllByServerTransactionID(PersistenceTransaction tx, Collection toDelete) { 24 return; 25 } 26 } 27 | Popular Tags |