public abstract class IndexingOperationProcessor extends Object
| Constructor and Description |
|---|
IndexingOperationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnector(IndexingServiceConnector indexingServiceConnector)
Add Indexing Connector to the service
|
void |
addConnector(IndexingServiceConnector indexingServiceConnector,
Boolean override)
Add Indexing Connector to the service
|
Map<String,IndexingServiceConnector> |
getConnectors()
Gets all current connectors
|
static String |
getCurrentTenantName() |
abstract void |
interrupt()
Interrupt the indexing queue process
|
abstract void |
process()
Index all document in the indexing queue
|
static void |
setCurrentTenantName(String tenantName) |
public static String getCurrentTenantName()
public static void setCurrentTenantName(String tenantName)
public void addConnector(IndexingServiceConnector indexingServiceConnector)
indexingServiceConnector - the indexing connector to addpublic void addConnector(IndexingServiceConnector indexingServiceConnector, Boolean override)
indexingServiceConnector - the indexing connector to addoverride - equal true if we can override an existing connector, false otherwisepublic Map<String,IndexingServiceConnector> getConnectors()
public abstract void process()
public abstract void interrupt()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.