Class StalenessChecker
- java.lang.Object
-
- com.google.gerrit.server.index.group.StalenessChecker
-
public class StalenessChecker extends Object
Checks if documents in the group index are stale.An index document is considered stale if the stored SHA1 differs from the HEAD SHA1 of the groups branch.
Note: This only applies to NoteDb.
-
-
Field Detail
-
FIELDS
public static final com.google.common.collect.ImmutableSet<String> FIELDS
-
-
Method Detail
-
isStale
public boolean isStale(AccountGroup.UUID uuid) throws IOException
- Throws:
IOException
-
-