mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-15 06:16:12 +00:00
apply changes from review #69
This commit is contained in:
1 parent
7423f47daa
commit
a20abae21c
7 files changed
+96
-9
No files matched your search
@@ -10,12 +10,12 @@ tags:
|
||||
---
|
||||
|
||||
## Intent
|
||||
Use Guareded suspension pattern to handle a situation when you want to execute a method on object which is not in a proper state.
|
||||
Use Guarded suspension pattern to handle a situation when you want to execute a method on object which is not in a proper state.
|
||||
|
||||

|
||||
|
||||
## Applicability
|
||||
Use Guareded Suspension pattern when:
|
||||
|
||||
* the developer knows that the method execution will be blocked for a finite period of time
|
||||
Use Guarded Suspension pattern when the developer knows that the method execution will be blocked for a finite period of time
|
||||
|
||||
## Related patterns
|
||||
* Balking
|
||||
Reference in new issue
Block a user