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 Slot
allocateSafeSlot(int length)
Slot
allocateSlot(int length)
Slot
allocateTransactionLogSlot(int length)
void
beginCommit()
void
commit()
void
endCommit()
void
free(Slot slot)
void
freeSafeSlot(Slot slot)
void
freeSelf()
boolean
isStarted()
void
listener(FreespaceListener listener)
void
migrateTo(FreespaceManager fm)
void
read(LocalObjectContainer container, Slot slot)
int
slotCount()
void
slotFreed(Slot slot)
void
start(int id)
byte
systemType()
int
totalFreespace()
void
traverse(Visitor4<Slot> visitor)
void
write(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()
-
-