Package com.db4o.internal.freespace
Interface FreespaceManager
-
- All Known Implementing Classes:
AbstractFreespaceManager,BlockAwareFreespaceManager,BTreeFreespaceManager,FreespaceManagerIx,InMemoryFreespaceManager,NullFreespaceManager
public interface FreespaceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlotallocateSafeSlot(int length)SlotallocateSlot(int length)SlotallocateTransactionLogSlot(int length)voidbeginCommit()voidcommit()voidendCommit()voidfree(Slot slot)voidfreeSafeSlot(Slot slot)voidfreeSelf()booleanisStarted()voidlistener(FreespaceListener listener)voidmigrateTo(FreespaceManager fm)voidread(LocalObjectContainer container, Slot slot)intslotCount()voidslotFreed(Slot slot)voidstart(int id)bytesystemType()inttotalFreespace()voidtraverse(Visitor4<Slot> visitor)voidwrite(LocalObjectContainer container)
-
-
-
Method Detail
-
beginCommit
void beginCommit()
-
endCommit
void endCommit()
-
slotCount
int slotCount()
-
free
void free(Slot slot)
-
freeSelf
void freeSelf()
-
totalFreespace
int totalFreespace()
-
allocateTransactionLogSlot
Slot allocateTransactionLogSlot(int length)
-
allocateSlot
Slot allocateSlot(int length)
-
migrateTo
void migrateTo(FreespaceManager fm)
-
read
void read(LocalObjectContainer container, Slot slot)
-
start
void start(int id)
-
systemType
byte systemType()
-
write
void write(LocalObjectContainer container)
-
commit
void commit()
-
allocateSafeSlot
Slot allocateSafeSlot(int length)
-
freeSafeSlot
void freeSafeSlot(Slot slot)
-
listener
void listener(FreespaceListener listener)
-
slotFreed
void slotFreed(Slot slot)
-
isStarted
boolean isStarted()
-
-