Class GroupsSnapshotReader.Snapshot

java.lang.Object
com.google.gerrit.server.account.GroupsSnapshotReader.Snapshot
Enclosing class:
GroupsSnapshotReader

public abstract static class GroupsSnapshotReader.Snapshot extends Object
  • Constructor Details

    • Snapshot

      public Snapshot()
  • Method Details

    • hash

      public abstract String hash()
      128-bit hash of all group ref ObjectIds. To be used as cache key.
    • groupsRefs

      public abstract com.google.common.collect.ImmutableList<org.eclipse.jgit.lib.Ref> groupsRefs()
      Snapshot of the state of all relevant NoteDb group refs.
    • create

      public static GroupsSnapshotReader.Snapshot create(String hash, com.google.common.collect.ImmutableList<org.eclipse.jgit.lib.Ref> groupsRefs)