public class UserMentionsContentReindexer extends Object
| Constructor and Description |
|---|
UserMentionsContentReindexer(ConfluenceIndexer indexer,
com.atlassian.event.api.EventPublisher eventPublisher,
SearchManager searchManager,
SynchronizationManager synchronizationManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
protected void |
doReindex(String username) |
void |
reindex(ConfluenceUser user,
String oldUsername)
Adds content with mentions to the index queue in batches by searching against a specific version of the search
index.
|
public UserMentionsContentReindexer(ConfluenceIndexer indexer, com.atlassian.event.api.EventPublisher eventPublisher, SearchManager searchManager, SynchronizationManager synchronizationManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public void reindex(ConfluenceUser user, String oldUsername)
protected void doReindex(String username) throws InvalidSearchException, SearchTokenExpiredException
@PreDestroy public void cleanUp()
Copyright © 2003–2019 Atlassian. All rights reserved.