mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 15:11:56 +00:00
docs: add diagrams for event aggregator, event-based asynchronous, event queue, execute around, extension objects
This commit is contained in:
1 parent
30d13083ae
commit
aef4b37c9a
10 files changed
+20
-8
No files matched your search
@@ -35,6 +35,10 @@ Wikipedia says
|
||||
|
||||
> Message queues (also known as event queues) implement an asynchronous communication pattern between two or more processes/threads whereby the sending and receiving party do not need to interact with the queue at the same time.
|
||||
|
||||
Sequence diagram
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Event Queue Pattern in Java
|
||||
|
||||
This example demonstrates an application using an event queue system to handle audio playback asynchronously.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Reference in new issue
Block a user