all index.md files renamed to README.md for more compatibility with github

This commit is contained in:
slawiko
2016-03-20 11:50:21 +03:00
parent 528d179efe
commit bd1b65276e
71 changed files with 34 additions and 34 deletions

25
poison-pill/README.md Normal file
View File

@ -0,0 +1,25 @@
---
layout: pattern
title: Poison Pill
folder: poison-pill
permalink: /patterns/poison-pill/
categories: Other
tags:
- Java
- Difficulty-Intermediate
---
## Intent
Poison Pill is known predefined data item that allows to provide
graceful shutdown for separate distributed consumption process.
![alt text](./etc/poison-pill.png "Poison Pill")
## Applicability
Use the Poison Pill idiom when
* need to send signal from one thread/process to another to terminate
## Real world examples
* [akka.actor.PoisonPill](http://doc.akka.io/docs/akka/2.1.4/java/untyped-actors.html)