Class AccountIndexerImpl
- java.lang.Object
-
- com.google.gerrit.server.index.account.AccountIndexerImpl
-
- All Implemented Interfaces:
AccountIndexer
public class AccountIndexerImpl extends Object implements AccountIndexer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AccountIndexerImpl.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
index(Account.Id id)
Synchronously index an account.boolean
reindexIfStale(Account.Id id)
Synchronously reindex an account if it is stale.
-
-
-
Method Detail
-
index
public void index(Account.Id id)
Description copied from interface:AccountIndexer
Synchronously index an account.- Specified by:
index
in interfaceAccountIndexer
- 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 interfaceAccountIndexer
- Parameters:
id
- account id to index.- Returns:
- whether the account was reindexed
-
-