Class Processor
- java.lang.Object
-
- com.smartgridready.communicator.async.process.Processor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Processorawait(Executable... executables)Prepares awaiting processes to be finished.voidprocess()Executes the processes in parallel.abstract voidprocess(ProcessingType processingType)Executes the processes.
-
-
-
Method Detail
-
process
public abstract void process(ProcessingType processingType)
Executes the processes.- Parameters:
processingType- the type of execution
-
process
public void process()
Executes the processes in parallel.
-
await
public Processor await(Executable... executables)
Prepares awaiting processes to be finished.- Parameters:
executables- the processes to await- Returns:
- the same instance
-
-