public class GenericMultiThreadedConnectorConfig extends ConnectorConfig implements com.exalead.mercury.component.config.CVComponentConfigSamplify
Modifier and Type | Class and Description |
---|---|
static class |
GenericMultiThreadedConnectorConfig.DocumentErrorBehavior |
Modifier and Type | Field and Description |
---|---|
int |
DEFAULT_MAX_DOC_QUEUED |
int |
DEFAULT_MAX_FOLDER_QUEUED |
int |
DEFAULT_MAX_PIPELINE_DOCUMENT_THREAD |
int |
DEFAULT_MAX_PIPELINE_FOLDER_THREAD |
protected GenericMultiThreadedConnectorConfig.DocumentErrorBehavior.State |
deleteDocumentOnError |
protected int |
maxDocQueued |
protected int |
maxFolderQueued |
protected long |
maxProcessingSize |
protected int |
nbPipelineDocumentThread |
protected int |
nbPipelineFolderThread |
protected boolean |
neverSendDelete |
protected boolean |
pushFolder |
protected RootPathConfig[] |
rootPaths |
customPushAPIFilters, thresholds
Constructor and Description |
---|
GenericMultiThreadedConnectorConfig()
Constructor
|
Modifier and Type | Method and Description |
---|---|
GenericMultiThreadedConnectorConfig.DocumentErrorBehavior.State |
getDeleteDocumentOnError()
get documents must be deleted from the index when updating in case of
error
|
int |
getMaxDocQueued() |
int |
getMaxFolderQueued() |
long |
getMaxProcessingSize() |
int |
getNbPipelineDocumentThread() |
int |
getNbPipelineFolderThread() |
boolean |
getNeverSendDelete()
never send any delete during an update (value : "true" or "false")
|
boolean |
getPushFolder()
get if folders must be indexed (value : "true" or "false")
|
RootPathConfig[] |
getRootPaths()
get the starting folders of indexation process
|
void |
samplify() |
void |
setDeleteDocumentOnError(GenericMultiThreadedConnectorConfig.DocumentErrorBehavior value)
set if documents must be deleted from the index when updating, in case of
error (value : @see DocumentErrorBehavior)
|
void |
setMaxDocQueued(int maxDocQueued) |
void |
setMaxDocQueued(java.lang.String value)
Compatibility function.
|
void |
setMaxFolderQueued(int maxFolderQueued) |
void |
setMaxFolderQueued(java.lang.String value)
Compatibility function.
|
void |
setMaxProcessingSize(long maxProcessingSize) |
void |
setMaxProcessingSize(java.lang.String value)
Compatibility function.
|
void |
setNbPipelineDocumentThread(int nbPipelineDocumentThread) |
void |
setNbPipelineDocumentThread(java.lang.String value)
Compatibility function.
|
void |
setNbPipelineFolderThread(int nbPipelineFolderThread) |
void |
setNbPipelineFolderThread(java.lang.String value)
Compatibility function.
|
void |
setNeverSendDelete(com.exalead.config.bean.BooleanChecked value)
never send any delete during an update (value : "true" or "false")
|
void |
setPushFolder(com.exalead.config.bean.BooleanChecked value)
set if folders must be indexed (value : "true" or "false")
|
void |
setPushFolder(java.lang.String value)
Compatibility function.
|
void |
setRootPaths(RootPathConfig[] rootPaths)
set the starting folders of indexation process
|
getMethods, getPushAPIFilters, setPushAPIFilters
checkConfig, getPropertiesDefinition, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkConfig
public final int DEFAULT_MAX_DOC_QUEUED
public final int DEFAULT_MAX_FOLDER_QUEUED
public final int DEFAULT_MAX_PIPELINE_DOCUMENT_THREAD
public final int DEFAULT_MAX_PIPELINE_FOLDER_THREAD
protected int maxDocQueued
protected int maxFolderQueued
protected long maxProcessingSize
protected int nbPipelineDocumentThread
protected int nbPipelineFolderThread
protected RootPathConfig[] rootPaths
protected boolean pushFolder
protected boolean neverSendDelete
protected GenericMultiThreadedConnectorConfig.DocumentErrorBehavior.State deleteDocumentOnError
public GenericMultiThreadedConnectorConfig()
public void samplify()
samplify
in interface com.exalead.config.bean.BeanSample
samplify
in class ConnectorConfig
public int getMaxDocQueued()
public RootPathConfig[] getRootPaths()
public void setRootPaths(RootPathConfig[] rootPaths)
rootPaths
- starting folderspublic void setPushFolder(com.exalead.config.bean.BooleanChecked value)
value
- public void setPushFolder(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean getPushFolder()
public void setNeverSendDelete(com.exalead.config.bean.BooleanChecked value)
value
- the valuepublic boolean getNeverSendDelete()
public void setDeleteDocumentOnError(GenericMultiThreadedConnectorConfig.DocumentErrorBehavior value)
value
- the valuepublic GenericMultiThreadedConnectorConfig.DocumentErrorBehavior.State getDeleteDocumentOnError()
public void setMaxDocQueued(int maxDocQueued)
public void setMaxDocQueued(java.lang.String value) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public int getMaxFolderQueued()
public void setMaxFolderQueued(int maxFolderQueued)
public void setMaxFolderQueued(java.lang.String value) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public int getNbPipelineDocumentThread()
public void setNbPipelineDocumentThread(int nbPipelineDocumentThread)
public void setNbPipelineDocumentThread(java.lang.String value) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public int getNbPipelineFolderThread()
public void setNbPipelineFolderThread(int nbPipelineFolderThread)
public void setNbPipelineFolderThread(java.lang.String value) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public long getMaxProcessingSize()
public void setMaxProcessingSize(long maxProcessingSize)
public void setMaxProcessingSize(java.lang.String value) throws java.lang.NumberFormatException
java.lang.NumberFormatException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.