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 Slot
allocateSlot(boolean append, int slotChangeCount)
void
applySlotChanges(Visitable<SlotChange> slotChangeTree, int slotChangeCount, Slot reservedSlot)
void
close()
void
completeInterruptedTransaction(int transactionId1, int transactionId2)
static java.lang.String
lockFileName(java.lang.String fileName)
static java.lang.String
logFileName(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:
completeInterruptedTransaction
in classTransactionLogHandler
-
close
public void close()
- Specified by:
close
in classTransactionLogHandler
-
allocateSlot
public Slot allocateSlot(boolean append, int slotChangeCount)
- Specified by:
allocateSlot
in classTransactionLogHandler
-
applySlotChanges
public void applySlotChanges(Visitable<SlotChange> slotChangeTree, int slotChangeCount, Slot reservedSlot)
- Specified by:
applySlotChanges
in classTransactionLogHandler
-
-