Class RandomImporterExecutor
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
-
- org.nuxeo.ecm.platform.importer.executor.jaxrs.AbstractJaxRSImporterExecutor
-
- org.nuxeo.ecm.platform.importer.executor.jaxrs.RandomImporterExecutor
-
public class RandomImporterExecutor extends AbstractJaxRSImporterExecutor
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
executorMainThread, factory, lastRunner, threadPolicy, transactionTimeout
-
-
Constructor Summary
Constructors Constructor Description RandomImporterExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Log
getJavaLogger()
String
run(String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbThreads, Boolean interactive, Integer nbNodes, Integer fileSizeKB, Boolean onlyText, Boolean nonUniform, Boolean withProperties, Boolean blockSyncPostCommitProcessing, Boolean blockAsyncProcessing, Boolean blockIndexing, Boolean bulkMode, Integer transactionTimeout, String lang)
String
run(ImporterRunner runner, Boolean interactive)
since 5.5 this method is invoked when using theDefaultImporterService
and passing the executor to the importDocuments method-
Methods inherited from class org.nuxeo.ecm.platform.importer.executor.jaxrs.AbstractJaxRSImporterExecutor
disableLogging, enableLogging, getLogAsString, getLogger, getStatus, index, kill, running, waitForAsyncJobs
-
Methods inherited from class org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
doRun, getFactory, getThreadPolicy, getTransactionTimeout, isRunning, setFactory, setThreadPolicy, setTransactionTimeout, startTask
-
-
-
-
Constructor Detail
-
RandomImporterExecutor
public RandomImporterExecutor()
-
-
Method Detail
-
getJavaLogger
protected Log getJavaLogger()
- Specified by:
getJavaLogger
in classAbstractImporterExecutor
-
run
public String run(String targetPath, Boolean skipRootContainerCreation, Integer batchSize, Integer nbThreads, Boolean interactive, Integer nbNodes, Integer fileSizeKB, Boolean onlyText, Boolean nonUniform, Boolean withProperties, Boolean blockSyncPostCommitProcessing, Boolean blockAsyncProcessing, Boolean blockIndexing, Boolean bulkMode, Integer transactionTimeout, String lang)
-
run
public String run(ImporterRunner runner, Boolean interactive)
Description copied from class:AbstractImporterExecutor
since 5.5 this method is invoked when using theDefaultImporterService
and passing the executor to the importDocuments method- Overrides:
run
in classAbstractImporterExecutor
-
-