1 21 22 package org.apache.derby.iapi.store.access.conglomerate; 23 24 import org.apache.derby.iapi.services.daemon.Serviceable; 25 import org.apache.derby.iapi.store.access.AccessFactory; 26 import org.apache.derby.iapi.store.access.ConglomerateController; 27 import org.apache.derby.iapi.store.access.SortController; 28 import org.apache.derby.iapi.store.access.TransactionController; 29 import org.apache.derby.iapi.store.raw.LockingPolicy; 30 import org.apache.derby.iapi.store.raw.Page; 31 import org.apache.derby.iapi.store.raw.Transaction; 32 import org.apache.derby.iapi.error.StandardException; 33 34 35 44 45 public interface TransactionManager extends TransactionController 46 { 47 48 53 static final int MODE_NONE = 5; 54 55 58 public static final int LOCK_INSTANT_DURATION = 1; 59 62 public static final int LOCK_COMMIT_DURATION = 2; 63 66 public static final int LOCK_MANUAL_DURATION = 3; 67 68 81 public void addPostCommitWork(Serviceable work); 82 83 91 public void closeMe(ScanManager scan); 92 93 102 public void closeMe(ConglomerateController conglom_control); 103 104 112 public void closeMe(SortController sort_control); 113 114 120 public AccessFactory getAccessManager(); 121 122 145 public TransactionManager getInternalTransaction() 146 throws StandardException; 147 148 158 public Transaction getRawStoreXact() 159 throws StandardException; 160 161 176 public void saveScanPositions(Conglomerate conglom, Page page) 177 throws StandardException; 178 } 179 | Popular Tags |