Package org.copperengine.core.common
Interface ProcessorPool
-
- All Known Subinterfaces:
PersistentProcessorPool
,TransientProcessorPool
- All Known Implementing Classes:
PersistentPriorityProcessorPool
,PriorityProcessorPool
,TransientPriorityProcessorPool
public interface ProcessorPool
A processor pool is a set ofProcessor
threads executing workflow instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
void
resume()
Resume processing of workflowsvoid
setEngine(ProcessingEngine engine)
Called internally by COPPER during initializationvoid
shutdown()
Shuts down the processor poolvoid
startup()
Starts up the processor poolvoid
suspend()
Suspend processing of workflows.
-
-
-
Method Detail
-
setEngine
void setEngine(ProcessingEngine engine)
Called internally by COPPER during initialization- Parameters:
engine
- engine which holds the ProcessorPool
-
getId
java.lang.String getId()
- Returns:
- the processor pools identifier
-
startup
void startup()
Starts up the processor pool
-
shutdown
void shutdown()
Shuts down the processor pool
-
suspend
void suspend()
Suspend processing of workflows.
-
resume
void resume()
Resume processing of workflows
-
-