Interface Database

    • Method Detail

      • createSnapshot

        Snapshot createSnapshot​(Cleaner cleaner)
        Creates a new snapshot of the database state.
        Parameters:
        cleaner - a cleaner to register the snapshot
        Returns:
        a new snapshot of the database state
      • createFork

        Fork createFork​(Cleaner cleaner)
        Creates a new database fork.

        A fork allows to perform a transaction: a number of independent writes to a database, which then may be atomically applied to the database.

        Parameters:
        cleaner - a cleaner to register the fork
        Returns:
        a new database fork