Class GroupIndexerImpl
java.lang.Object
com.google.gerrit.server.index.group.GroupIndexerImpl
- All Implemented Interfaces:
GroupIndexer
Implementation for indexing an internal Gerrit group. The group will be loaded from
GroupCache
.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
index
(AccountGroup.UUID uuid) Synchronously index a group.boolean
Synchronously reindex a group if it is stale.
-
Method Details
-
index
Description copied from interface:GroupIndexer
Synchronously index a group.- Specified by:
index
in interfaceGroupIndexer
- Parameters:
uuid
- group UUID to index.
-
reindexIfStale
Description copied from interface:GroupIndexer
Synchronously reindex a group if it is stale.- Specified by:
reindexIfStale
in interfaceGroupIndexer
- Parameters:
uuid
- group UUID to index.- Returns:
- whether the group was reindexed
-