Class DefaultMultiThreadingPolicy
java.lang.Object
org.nuxeo.ecm.platform.importer.threading.DefaultMultiThreadingPolicy
- All Implemented Interfaces:
ImporterThreadingPolicy
Default multi-threading policy (creates a new thread on each branch until the max nb thread is reached)
- Author:
- Thierry Delprat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
needToCreateThreadAfterNewFolderishNode
(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks)
-
Constructor Details
-
DefaultMultiThreadingPolicy
public DefaultMultiThreadingPolicy()
-
-
Method Details
-
needToCreateThreadAfterNewFolderishNode
public boolean needToCreateThreadAfterNewFolderishNode(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks) - Specified by:
needToCreateThreadAfterNewFolderishNode
in interfaceImporterThreadingPolicy
-