Package com.google.gerrit.server.account
Class GroupsSnapshotReader.Snapshot
java.lang.Object
com.google.gerrit.server.account.GroupsSnapshotReader.Snapshot
- Enclosing class:
- GroupsSnapshotReader
-
Constructor Details
-
Snapshot
public Snapshot()
-
-
Method Details
-
hash
128-bit hash of all group refObjectIds
. 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)
-