docs: add diagrams for marker interface, master-worker, mediator, memento, metadata mapping, microservices api gateway, microservices log aggregation, monad, monitor, monostate, multiton, mute idiom

This commit is contained in:
Ilkka Seppälä committed 2025-04-07 22:14:20 +03:00
1 parent 72eeb167c5
commit 8d5cb59388
24 files changed
+48 -4

No files matched your search

+4
View File
@@ -32,6 +32,10 @@ Wikipedia says
> In software engineering, the multiton pattern is a design pattern which generalizes the singleton pattern. Whereas the singleton allows only one instance of a class to be created, the multiton pattern allows for the controlled creation of multiple instances, which it manages through the use of a map.
Flowchart
![Multiton flowchart](./etc/multiton-flowchart.png)
## Programmatic Example of Multiton Pattern in Java
In this tutorial, we’ll explore how to implement the Multiton pattern in Java, covering its structure, benefits, and providing code examples. By following these implementation tips, you’ll be able to effectively utilize this Java design pattern.
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB