Class DatabaseVersion

  • public class DatabaseVersion
    extends java.lang.Object
    The database version represents an incremental addition to the local database of a client. A user's MemoryDatabase consists of many incremental database versions.

    A DatabaseVersion is identified by a DatabaseVersionHeader, a combination of a VectorClock, a local timestamp and the original client name.

    The database version holds references to the newly added/removed/changed PartialFileHistorys as well as the corresponding FileContents, ChunkEntrys and MultiChunkEntrys.

    The current implementation of the database version keeps all references in memory.