Class StalenessChecker
java.lang.Object
com.google.gerrit.server.index.account.StalenessChecker
Checks if documents in the account index are stale.
An index document is considered stale if the stored ref state differs from the SHA1 of the user branch or if the stored external ID states don't match with the external IDs of the account from the refs/meta/external-ids branch.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncheck
(Account.Id id) static com.google.common.collect.ListMultimap<org.eclipse.jgit.lib.ObjectId,
org.eclipse.jgit.lib.ObjectId> parseExternalIdStates
(Iterable<byte[]> extIdStates)
-
Field Details
-
FIELDS
-
FIELDS2
-
-
Method Details
-
check
- Throws:
IOException
-
parseExternalIdStates
public static com.google.common.collect.ListMultimap<org.eclipse.jgit.lib.ObjectId,org.eclipse.jgit.lib.ObjectId> parseExternalIdStates(Iterable<byte[]> extIdStates)
-