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