Class DocumentProcessingHandlerParameters


  • public class DocumentProcessingHandlerParameters
    extends java.lang.Object
    Class to hold parameters given to DocumentProcessingHandler, typically used by unit tests.
    Author:
    Einar M R Rosenvinge
    See Also:
    DocumentProcessingHandler
    • Constructor Detail

      • DocumentProcessingHandlerParameters

        public DocumentProcessingHandlerParameters()
    • Method Detail

      • getMetric

        public com.yahoo.jdisc.Metric getMetric()
      • getMaxNumThreads

        public int getMaxNumThreads()
        Returns the maximum number of thread that the thread pool will ever attempt to run simultaneously.
        Returns:
        the maximum number of thread that the thread pool will ever attempt to run simultaneously.
      • getDocumentTypeManager

        public com.yahoo.document.DocumentTypeManager getDocumentTypeManager()
      • getChainsModel

        public com.yahoo.component.chain.model.ChainsModel getChainsModel()
        Returns the chains model, used to build call stacks.
        Returns:
        the chains model, used to build call stacks.
      • getSchemaMap

        public SchemaMap getSchemaMap()
        Returns the schema map to be used by the docproc handler.
        Returns:
        the schema map to be used by the docproc handler.
      • getStatisticsManager

        public com.yahoo.statistics.Statistics getStatisticsManager()
      • setContainerDocumentConfig

        public DocumentProcessingHandlerParameters setContainerDocumentConfig​(com.yahoo.container.core.document.ContainerDocumentConfig containerDocConfig)
      • getContainerDocConfig

        public com.yahoo.container.core.document.ContainerDocumentConfig getContainerDocConfig()