This commit is contained in:
Narendra Pathai 2016-07-22 12:52:54 +05:30
commit 4bd1f14cfb
14 changed files with 30 additions and 13 deletions

View File

@ -8,6 +8,7 @@ tags:
- Java
- Difficulty-Intermediate
- Functional
- Reactive
---
## Intent

View File

@ -8,6 +8,7 @@ tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
- Functional
---
## Also known as

View File

@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Difficulty-Beginner
- Reactive
---
## Intent

View File

@ -1,7 +1,14 @@
---
layout: pattern
title: Event Driven Architecture
folder: event-driven-architecture
permalink: /patterns/event-driven-architecture
permalink: /patterns/event-driven-architecture/
categories: Architectural
tags:
- Java
- Difficulty-Intermediate
- Reactive
---
## Intent
Send and notify state changes of your objects to other applications using an Event-driven Architecture.

View File

@ -6,7 +6,7 @@ permalink: /patterns/monad/
categories: Other
tags:
- Java
- Difficulty-Advanced
- Difficulty-Expert
- Functional
---

View File

@ -11,7 +11,7 @@ tags:
---
## Intent
Provide a template to supress any exceptions that either are declared but cannot occur or should only be logged;
Provide a template to suppress any exceptions that either are declared but cannot occur or should only be logged;
while executing some business logic. The template removes the need to write repeated `try-catch` blocks.
@ -20,7 +20,7 @@ while executing some business logic. The template removes the need to write repe
## Applicability
Use this idiom when
* an API declares some exception but can never throw that exception. Eg. ByteArrayOutputStream bulk write method.
* an API declares some exception but can never throw that exception eg. ByteArrayOutputStream bulk write method.
* you need to suppress some exception just by logging it, such as closing a resource.
## Credits

View File

@ -3,10 +3,10 @@ layout: pattern
title: Mutex
folder: mutex
permalink: /patterns/mutex/
categories: Lock
categories: Concurrency
tags:
- Java
- Difficulty-Beginner
- Difficulty-Intermediate
---
## Also known as

View File

@ -8,6 +8,7 @@ tags:
- Java
- Difficulty-Beginner
- Gang Of Four
- Reactive
---
## Also known as

View File

@ -7,9 +7,6 @@ categories: Testing
tags:
- Java
- Difficulty-Intermediate
- Testing
- Web Development
- Encapsulation
---
## Intent

View File

@ -7,6 +7,7 @@ categories: Other
tags:
- Java
- Difficulty-Intermediate
- Reactive
---
## Intent

View File

@ -8,6 +8,7 @@ tags:
- Java
- Difficulty-Intermediate
- I/O
- Reactive
---
## Intent

View File

@ -3,9 +3,12 @@ layout: pattern
title: Reader Writer Lock
folder: reader-writer-lock
permalink: /patterns/reader-writer-lock/
categories: Concurrent
categories: Concurrency
tags:
- Java
- Java
- Difficulty-Intermediate
- I/O
- Performance
---
**Intent:**

View File

@ -3,10 +3,10 @@ layout: pattern
title: Semaphore
folder: semaphore
permalink: /patterns/semaphore/
categories: Lock
categories: Concurrency
tags:
- Java
- Difficulty-Beginner
- Difficulty-Intermediate
---
## Also known as

View File

@ -26,6 +26,10 @@ Use the Specification pattern when
* you need to select a subset of objects based on some criteria, and to refresh the selection at various times
* you need to check that only suitable objects are used for a certain role (validation)
## Related patterns
* Repository
## Credits
* [Martin Fowler - Specifications](http://martinfowler.com/apsupp/spec.pdf)