Package com.google.gerrit.server.account
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 Summary
Constructors Constructor Description Snapshot()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static GroupsSnapshotReader.Snapshot
create(String hash, com.google.common.collect.ImmutableList<org.eclipse.jgit.lib.Ref> groupsRefs)
abstract com.google.common.collect.ImmutableList<org.eclipse.jgit.lib.Ref>
groupsRefs()
Snapshot of the state of all relevant NoteDb group refs.abstract String
hash()
128-bit hash of all group refObjectIds
.
-
-
-
Method Detail
-
hash
public abstract String 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)
-
-