Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • starting dependent services; where a parent component is dependent on the child components starting; where the start process may be asynchronous in different threads. e.g. there may be a recovery process on startup which you need to wait for.
  • implementing master-slave type protocols where you need to monitor the state of the master and slave to make decisions on what to do; together with dealing with transitions from Started to Recovering to Running then maybe to FailingOver etc.
  • implementing message orchestration. You may want to implement some simple orchestrations, waiting for either a response to arrive or a timeout to fire etc

...

Activity overview

A flow An activity is just a POJO which implements the Flow interface. A flow Activity interface; it has a simple lifecycle, you can start them and stop them and ask their status.

...