Class NoteDbChangeState


  • public class NoteDbChangeState
    extends Object
    The state of all relevant NoteDb refs across all repos corresponding to a given Change entity.

    Stored serialized in the Change#noteDbState field, and used to determine whether the state in NoteDb is out of date.

    Serialized in one of the forms:

    • [meta-sha],[account1]=[drafts-sha],[account2]=[drafts-sha]...
    • R,[meta-sha],[account1]=[drafts-sha],[account2]=[drafts-sha]...
    • R=[read-only-until],[meta-sha],[account1]=[drafts-sha],[account2]=[drafts-sha]...
    • N
    • N=[read-only-until]
    in numeric account ID order, with hex SHA-1s for human readability.