Package com.db4o.ext
Interface SystemInfo
- 
- All Known Implementing Classes:
- SystemInfoFileImpl
 
 public interface SystemInfoprovides information about system state and system settings.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intfreespaceEntryCount()returns the number of entries in the Freespace Manager.longfreespaceSize()returns the freespace size in the database in bytes.longtotalSize()Returns the total size of the database on disk.
 
- 
- 
- 
Method Detail- 
freespaceEntryCountint freespaceEntryCount() returns the number of entries in the Freespace Manager.
 A high value for the number of freespace entries is an indication that the database is fragmented and that defragment should be run.- Returns:
- the number of entries in the Freespace Manager.
 
 - 
freespaceSizelong freespaceSize() returns the freespace size in the database in bytes.
 When db4o stores modified objects, it allocates a new slot for it. During commit the old slot is freed. Free slots are collected in the freespace manager, so they can be reused for other objects.
 This method returns a sum of the size of all free slots in the database file.
 To reclaim freespace run defragment.- Returns:
- the freespace size in the database in bytes.
 
 - 
totalSizelong totalSize() Returns the total size of the database on disk.- Returns:
- total size of database on disk
 
 
- 
 
-