Class MemoryDatabase


  • public class MemoryDatabase
    extends java.lang.Object
    The database represents the internal file and chunk index of the application. It can be used to reference or load a full local database (local client) or a remote database (from a delta database file of another clients).

    A database consists of a sorted list of DatabaseVersions, i.e. it is a collection of changes to the local file system.

    For convenience, the class also offers a set of functionality to select objects from the current accumulated database. Examples include getChunk(), getContent() and getMultiChunk().

    To allow this convenience, a few caches are kept in memory, and updated whenever a database version is added or removed.

    See Also:
    DatabaseVersion