Class 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 Detail

      • FIELDS

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

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

      • parseExternalIdStates

        public static com.google.common.collect.ListMultimap<org.eclipse.jgit.lib.ObjectId,​org.eclipse.jgit.lib.ObjectId> parseExternalIdStates​(Iterable<byte[]> extIdStates)