Minor fixes to readmes
This commit is contained in:
parent
3f09fb70bb
commit
a94737075e
@ -213,8 +213,8 @@ Example use cases
|
|||||||
|
|
||||||
## Related patterns
|
## Related patterns
|
||||||
|
|
||||||
[Factory Method](https://java-design-patterns.com/patterns/factory-method/)
|
* [Factory Method](https://java-design-patterns.com/patterns/factory-method/)
|
||||||
[Factory Kit](https://java-design-patterns.com/patterns/factory-kit/)
|
* [Factory Kit](https://java-design-patterns.com/patterns/factory-kit/)
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
@ -20,12 +20,14 @@ callbacks or waiting until everything is done.
|
|||||||
## Applicability
|
## Applicability
|
||||||
Use async method invocation pattern when
|
Use async method invocation pattern when
|
||||||
|
|
||||||
* you have multiple independent tasks that can run in parallel
|
* You have multiple independent tasks that can run in parallel
|
||||||
* you need to improve the performance of a group of sequential tasks
|
* You need to improve the performance of a group of sequential tasks
|
||||||
* you have limited amount of processing capacity or long running tasks and the
|
* You have limited amount of processing capacity or long running tasks and the
|
||||||
caller should not wait the tasks to be ready
|
caller should not wait the tasks to be ready
|
||||||
|
|
||||||
## Real world examples
|
## Real world examples
|
||||||
|
|
||||||
* [FutureTask](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/FutureTask.html), [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html) and [ExecutorService](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html) (Java)
|
* [FutureTask](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/FutureTask.html)
|
||||||
* [Task-based Asynchronous Pattern](https://msdn.microsoft.com/en-us/library/hh873175.aspx) (.NET)
|
* [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html)
|
||||||
|
* [ExecutorService](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html)
|
||||||
|
* [Task-based Asynchronous Pattern](https://msdn.microsoft.com/en-us/library/hh873175.aspx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user