Interface ManagedObjectStartupProcess
-
public interface ManagedObjectStartupProcessStart upProcessStateregistered via aManagedObjectExecuteContext.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetConcurrent(boolean isConcurrent)Flags for theProcessStateto be invoked concurrently.
-
-
-
Method Detail
-
setConcurrent
void setConcurrent(boolean isConcurrent)
Flags for the
ProcessStateto be invoked concurrently.The start up
ProcessStateis executed with on sameThreadbuilding theOfficeFloor. This allows for the start upProcessStateinstances to complete before theOfficeFlooris opened (unless using anotherTeam).By flagging concurrent, it allows another
Threadto concurrently invoke the start upProcessState. This allows concurrent start up, albeit requiring concurrency handling due to using multipleThreadinstances.Furthermore, as order of execution of the start up
ProcessStateinstances is based on theOfficeFrame, it allows any dependency ordering to be resolved. This is because they both can be executed concurrently and co-ordinate themselves together.- Parameters:
isConcurrent- Flags whether to undertake the start upProcessStateconcurrently.
-
-