mardi 28 février 2017

can't find a design pattern for my structure

I need the following workflow:

  1. A request comes
  2. It is being processed
  3. if procession result is false, wait for 10 sec
  4. If procession result is true or 10 sec has passed, go to 2.

What the design pattern here?

Aucun commentaire:

Enregistrer un commentaire