Class DocumentConsumers
- java.lang.Object
-
- org.nuxeo.importer.stream.automation.DocumentConsumers
-
public class DocumentConsumers extends Object
- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerbatchSizeprotected IntegerbatchThresholdSprotected BooleanblockAsyncListenersprotected BooleanblockIndexingprotected BooleanblockPostCommitListenersprotected BooleanblockSyncListenersprotected OperationContextctxstatic StringIDprotected StringlogNameprotected IntegernbThreadsprotected StringrepositoryNameprotected IntegerretryDelaySprotected IntegerretryMaxprotected StringrootFolderprotected BooleanuseBulkModeprotected IntegerwaitMessageTimeoutSeconds
-
Constructor Summary
Constructors Constructor Description DocumentConsumers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected shortgetNbThreads()protected StringgetRepositoryName()voidrun()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
rootFolder
protected String rootFolder
-
repositoryName
protected String repositoryName
-
batchThresholdS
protected Integer batchThresholdS
-
retryDelayS
protected Integer retryDelayS
-
blockIndexing
protected Boolean blockIndexing
-
blockAsyncListeners
protected Boolean blockAsyncListeners
-
blockPostCommitListeners
protected Boolean blockPostCommitListeners
-
blockSyncListeners
protected Boolean blockSyncListeners
-
useBulkMode
protected Boolean useBulkMode
-
waitMessageTimeoutSeconds
protected Integer waitMessageTimeoutSeconds
-
-
Constructor Detail
-
DocumentConsumers
public DocumentConsumers()
-
-
Method Detail
-
run
public void run() throws OperationException
- Throws:
OperationException
-
getNbThreads
protected short getNbThreads()
-
getRepositoryName
protected String getRepositoryName()
-
-