Package com.db4o.internal.freespace
Class NullFreespaceManager
- java.lang.Object
- 
- com.db4o.internal.freespace.NullFreespaceManager
 
- 
- All Implemented Interfaces:
- FreespaceManager
 
 public class NullFreespaceManager extends java.lang.Object implements FreespaceManager 
- 
- 
Field SummaryFields Modifier and Type Field Description static FreespaceManagerINSTANCE
 - 
Method SummaryAll Methods Instance Methods Concrete 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)
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final FreespaceManager INSTANCE 
 
- 
 - 
Method Detail- 
allocateSlotpublic Slot allocateSlot(int length) - Specified by:
- allocateSlotin interface- FreespaceManager
 
 - 
allocateSafeSlotpublic Slot allocateSafeSlot(int length) - Specified by:
- allocateSafeSlotin interface- FreespaceManager
 
 - 
beginCommitpublic void beginCommit() - Specified by:
- beginCommitin interface- FreespaceManager
 
 - 
commitpublic void commit() - Specified by:
- commitin interface- FreespaceManager
 
 - 
endCommitpublic void endCommit() - Specified by:
- endCommitin interface- FreespaceManager
 
 - 
freepublic void free(Slot slot) - Specified by:
- freein interface- FreespaceManager
 
 - 
freeSelfpublic void freeSelf() - Specified by:
- freeSelfin interface- FreespaceManager
 
 - 
freeSafeSlotpublic void freeSafeSlot(Slot slot) - Specified by:
- freeSafeSlotin interface- FreespaceManager
 
 - 
listenerpublic void listener(FreespaceListener listener) - Specified by:
- listenerin interface- FreespaceManager
 
 - 
migrateTopublic void migrateTo(FreespaceManager fm) - Specified by:
- migrateToin interface- FreespaceManager
 
 - 
slotCountpublic int slotCount() - Specified by:
- slotCountin interface- FreespaceManager
 
 - 
slotFreedpublic void slotFreed(Slot slot) - Specified by:
- slotFreedin interface- FreespaceManager
 
 - 
startpublic void start(int id) - Specified by:
- startin interface- FreespaceManager
 
 - 
systemTypepublic byte systemType() - Specified by:
- systemTypein interface- FreespaceManager
 
 - 
totalFreespacepublic int totalFreespace() - Specified by:
- totalFreespacein interface- FreespaceManager
 
 - 
traversepublic void traverse(Visitor4<Slot> visitor) - Specified by:
- traversein interface- FreespaceManager
 
 - 
writepublic void write(LocalObjectContainer container) - Specified by:
- writein interface- FreespaceManager
 
 - 
isStartedpublic boolean isStarted() - Specified by:
- isStartedin interface- FreespaceManager
 
 - 
allocateTransactionLogSlotpublic Slot allocateTransactionLogSlot(int length) - Specified by:
- allocateTransactionLogSlotin interface- FreespaceManager
 
 - 
readpublic void read(LocalObjectContainer container, Slot slot) - Specified by:
- readin interface- FreespaceManager
 
 
- 
 
-