Class StalenessChecker

java.lang.Object
com.google.gerrit.server.index.account.StalenessChecker

public class StalenessChecker extends Object
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 Details

    • FIELDS

      public static final com.google.common.collect.ImmutableSet<String> FIELDS
    • FIELDS2

      public static final com.google.common.collect.ImmutableSet<String> FIELDS2
  • Method Details