| com.db4o.ext.SystemInfo
All known Subclasses: com.db4o.internal.SystemInfoFileImpl,
SystemInfo | public interface SystemInfo (Code) | | provides information about system state and system settings.
|
Method Summary | |
public int | 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. | public long | freespaceSize() returns the freespace size in the database in bytes.
When db4o stores modified objects, it allocates
a new slot for it. | public long | totalSize() Returns the total size of the database on disk. |
freespaceEntryCount | public int freespaceEntryCount()(Code) | | 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.
the number of entries in the Freespace Manager. |
freespaceSize | public long freespaceSize()(Code) | | 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.
the freespace size in the database in bytes. |
totalSize | public long totalSize()(Code) | | Returns the total size of the database on disk.
total size of database on disk |
|
|