Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- kubernetes
- Kubernetes Engine
- VPC
- ansible
- GKE
- Google Cloud Platorm
- Cloud Storage
- gcp
- playbook
- Google Cloud
- AWS Certificate
- 아마존웹서비스
- Solution Architect
- Google Cloud Platrofm
- Cloud Datastore
- AWS 자격증
- Amazon Web Service
- AWS Database
- AWS Solution Architect
- Reverse Proxy
- Compute Engine
- Cloud SQL
- 리버스 프록시
- Solution Architect Certificate
- 앤서블
- Cloud Bigtable
- Cloud Spanner
- AWS
- Google Cloud Platform
- container
Archives
- Today
- Total
sungwony
[디자인패턴] Chain of responsibility 패턴 본문
Chain of responsibility
책임 연쇄(Chain of responsibility) 패턴이란 무엇입니까?
- 명령 객체와 일련의 처리 객체를 포함하는 디자인 패턴
- 각각의 처리 객체는 명령 객체를 처리할 수 있는 연산의 집합이고, 체인 안의 처리 객체가 핸들할 수 없는 명령은 다음 처리 객체로 넘겨진다.
Chain-of-responsibility pattern의 클래스 다이어그램 예시
Advanced
* 요구하는 사람과 요구를 처리하는 사람을 유연하게 연결한다
* 동적으로 사슬의 형태를 바꾼다
* 자신의 일에 집중할 수 있다
* 떠넘기기로 처리가 지연될 가능성은?
'development > 디자인패턴' 카테고리의 다른 글
[디자인 패턴] Visitor 패턴 (0) | 2018.08.13 |
---|---|
[디자인 패턴] Decorator 패턴 (0) | 2018.08.10 |
[디자인패턴] Template method 패턴 (0) | 2018.07.23 |
[디자인패턴] 디자인패턴 입문 - 디자인패턴 (0) | 2018.07.18 |
[디자인패턴]디자인 패턴 인덱스 (0) | 2018.07.17 |