Package com.db4o.internal.transactionlog
Class FileBasedTransactionLogHandler
- java.lang.Object
-
- com.db4o.internal.transactionlog.TransactionLogHandler
-
- com.db4o.internal.transactionlog.FileBasedTransactionLogHandler
-
public class FileBasedTransactionLogHandler extends TransactionLogHandler
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.transactionlog.TransactionLogHandler
_container
-
-
Constructor Summary
Constructors Constructor Description FileBasedTransactionLogHandler(LocalObjectContainer container, java.lang.String fileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotallocateSlot(boolean append, int slotChangeCount)voidapplySlotChanges(Visitable<SlotChange> slotChangeTree, int slotChangeCount, Slot reservedSlot)voidclose()voidcompleteInterruptedTransaction(int transactionId1, int transactionId2)static java.lang.StringlockFileName(java.lang.String fileName)static java.lang.StringlogFileName(java.lang.String fileName)-
Methods inherited from class com.db4o.internal.transactionlog.TransactionLogHandler
appendSlotChanges, flushDatabaseFile, localContainer, readWriteSlotChanges, transactionLogSlotLength, writeSlots
-
-
-
-
Constructor Detail
-
FileBasedTransactionLogHandler
public FileBasedTransactionLogHandler(LocalObjectContainer container, java.lang.String fileName)
-
-
Method Detail
-
logFileName
public static java.lang.String logFileName(java.lang.String fileName)
-
lockFileName
public static java.lang.String lockFileName(java.lang.String fileName)
-
completeInterruptedTransaction
public void completeInterruptedTransaction(int transactionId1, int transactionId2)- Specified by:
completeInterruptedTransactionin classTransactionLogHandler
-
close
public void close()
- Specified by:
closein classTransactionLogHandler
-
allocateSlot
public Slot allocateSlot(boolean append, int slotChangeCount)
- Specified by:
allocateSlotin classTransactionLogHandler
-
applySlotChanges
public void applySlotChanges(Visitable<SlotChange> slotChangeTree, int slotChangeCount, Slot reservedSlot)
- Specified by:
applySlotChangesin classTransactionLogHandler
-
-