Class AccountIndexerImpl

java.lang.Object
com.google.gerrit.server.index.account.AccountIndexerImpl
All Implemented Interfaces:
AccountIndexer

public class AccountIndexerImpl extends Object implements AccountIndexer
Implementation for indexing a Gerrit account. The account will be loaded from AccountCache.
  • Method Details

    • index

      public void index(Account.Id id)
      Description copied from interface: AccountIndexer
      Synchronously index an account.
      Specified by:
      index in interface AccountIndexer
      Parameters:
      id - account id to index.
    • reindexIfStale

      public boolean reindexIfStale(Account.Id id)
      Description copied from interface: AccountIndexer
      Synchronously reindex an account if it is stale.
      Specified by:
      reindexIfStale in interface AccountIndexer
      Parameters:
      id - account id to index.
      Returns:
      whether the account was reindexed