Files
java-design-patterns/guarded-suspension/README.md
T
2022-11-20 16:48:05 +02:00

483 B

title, category, language, tag
title category language tag
Guarded Suspension Concurrency en
Decoupling

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.

Class diagram

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