Class TransientPriorityProcessorPool

    • Constructor Detail

      • TransientPriorityProcessorPool

        public TransientPriorityProcessorPool()
        Creates a new TransientPriorityProcessorPool with as many worker threads as processors available on the corresponding environment. id needs to be initialized later using the setter.
      • TransientPriorityProcessorPool

        public TransientPriorityProcessorPool​(java.lang.String id)
        Creates a new TransientPriorityProcessorPool with as many worker threads as processors available on the corresponding environment.
        Parameters:
        id - Unique id of the transient processor pool. Might be specified when creating a workflow or within a workflow from Workflow.setProcessorPoolId(java.lang.String) to let the workflow be run on this processor pool. (After reaching the next checkpoint when already running)
      • TransientPriorityProcessorPool

        public TransientPriorityProcessorPool​(java.lang.String id,
                                              int numberOfThreads)
    • Method Detail

      • getQueueSize

        public int getQueueSize()
        Specified by:
        getQueueSize in interface org.copperengine.management.ProcessorPoolMXBean