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 from GroupCache.
  • Method Details

    • index

      public void index(AccountGroup.UUID uuid)
      Description copied from interface: GroupIndexer
      Synchronously index a group.
      Specified by:
      index in interface GroupIndexer
      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 interface GroupIndexer
      Parameters:
      uuid - group UUID to index.
      Returns:
      whether the group was reindexed