java-design-patterns/guarded-suspension
2018-01-01 16:58:29 +02:00
..
2017-11-28 20:55:52 +02:00
2017-12-31 16:29:48 +09:00
2017-11-28 21:28:53 +02:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Guarded Suspension guarded-suspension /patterns/guarded-suspension/ Concurrency
Java
Difficulty-Beginner

Intent

Use Guarded suspension pattern to handle a situation when you want to execute a method on object which is not in a proper state.

Guarded Suspension diagram

Applicability

Use Guarded Suspension pattern when the developer knows that the method execution will be blocked for a finite period of time

  • Balking