public class MultithreadedCognitiveModelFactory extends AbstractCognitiveModelFactory
Constructor and Description |
---|
MultithreadedCognitiveModelFactory(int numThreadsInPool)
Creates a new instance of MultithreadedCognitiveModelFactory.
|
Modifier and Type | Method and Description |
---|---|
MultithreadedCognitiveModel |
createModel()
Creates a MultithreadedCognitiveModel using the CognitiveModuleFactories
that are part of the model factory.
|
addModuleFactory, getModuleFactories, setModuleFactories
public MultithreadedCognitiveModelFactory(int numThreadsInPool)
numThreadsInPool
- Number of threads to use in the thread poolpublic MultithreadedCognitiveModel createModel()