1 21 package com.db4o; 22 23 26 class TransactionObjectCarrier extends YapFileTransaction{ 27 28 TransactionObjectCarrier(YapStream a_stream, Transaction a_parent) { 29 super(a_stream, a_parent); 30 } 31 32 public void commit() { 33 } 35 36 public void slotFreeOnCommit(int a_id, int a_address, int a_length) { 37 } 39 40 void slotFreeOnRollback(int a_id, int a_address, int a_length) { 41 } 43 44 void slotFreeOnRollbackSetPointer(int a_id, int a_address, int a_length) { 45 setPointer(a_id, a_address, a_length); 46 } 47 48 void slotFreeOnRollbackCommitSetPointer(int a_id, int newAddress, int newLength) { 49 setPointer(a_id, newAddress, newLength); 50 } 51 52 void slotFreePointerOnCommit(int a_id, int a_address, int a_length) { 53 } 55 56 public void setPointer(int a_id, int a_address, int a_length) { 57 writePointer(a_id, a_address, a_length); 58 } 59 60 boolean supportsVirtualFields(){ 61 return false; 62 } 63 64 65 66 67 } 68 | Popular Tags |