Class GroupIndexerImpl
- java.lang.Object
-
- com.google.gerrit.server.index.group.GroupIndexerImpl
-
- All Implemented Interfaces:
GroupIndexer
public class GroupIndexerImpl extends Object implements GroupIndexer
Implementation for indexing an internal Gerrit group. The group will be loaded fromGroupCache
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GroupIndexerImpl.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
index(AccountGroup.UUID uuid)
Synchronously index a group.boolean
reindexIfStale(AccountGroup.UUID uuid)
Synchronously reindex a group if it is stale.
-
-
-
Method Detail
-
index
public void index(AccountGroup.UUID uuid)
Description copied from interface:GroupIndexer
Synchronously index a group.- Specified by:
index
in interfaceGroupIndexer
- Parameters:
uuid
- group UUID to index.
-
reindexIfStale
public boolean reindexIfStale(AccountGroup.UUID uuid)
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
-
-