public class FreespaceManagerForDebug extends java.lang.Object implements FreespaceManager
| Constructor and Description |
|---|
FreespaceManagerForDebug(SlotListener listener) |
| Modifier and Type | Method and 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) |
public FreespaceManagerForDebug(SlotListener listener)
public Slot allocateSafeSlot(int length)
allocateSafeSlot in interface FreespaceManagerpublic void freeSafeSlot(Slot slot)
freeSafeSlot in interface FreespaceManagerpublic void beginCommit()
beginCommit in interface FreespaceManagerpublic void commit()
commit in interface FreespaceManagerpublic void endCommit()
endCommit in interface FreespaceManagerpublic int slotCount()
slotCount in interface FreespaceManagerpublic void free(Slot slot)
free in interface FreespaceManagerpublic void freeSelf()
freeSelf in interface FreespaceManagerpublic Slot allocateSlot(int length)
allocateSlot in interface FreespaceManagerpublic void start(int id)
start in interface FreespaceManagerpublic byte systemType()
systemType in interface FreespaceManagerpublic void traverse(Visitor4<Slot> visitor)
traverse in interface FreespaceManagerpublic void write(LocalObjectContainer container)
write in interface FreespaceManagerpublic void listener(FreespaceListener listener)
listener in interface FreespaceManagerpublic void migrateTo(FreespaceManager fm)
migrateTo in interface FreespaceManagerpublic int totalFreespace()
totalFreespace in interface FreespaceManagerpublic void slotFreed(Slot slot)
slotFreed in interface FreespaceManagerpublic boolean isStarted()
isStarted in interface FreespaceManagerpublic Slot allocateTransactionLogSlot(int length)
allocateTransactionLogSlot in interface FreespaceManagerpublic void read(LocalObjectContainer container, Slot slot)
read in interface FreespaceManager