I wrote a sequence diagram of the j.u.c.Flow sample

Java.util.concurrent.Flow will be introduced in JDK9. Flow is a standard for asynchronous stream processing and is discussed in Reactive Streams.

The Observer / Observable model has been available since JDK1.0, but with the introduction of Flow in JDK9, the following will be deprecated.

A sample program can be found in the Flow API documentation. It's not that complicated, but I'm going back and forth between three classes, so I wrote a sequence diagram.

jdk9flow.png

Recommended Posts

I wrote a sequence diagram of the j.u.c.Flow sample
I learned about the existence of a gemspec file
I took a peek at the contents of Java's HashMap
I tried JAX-RS and made a note of the procedure
I tried to make the sample application into a microservice according to the idea of the book "Microservice Architecture".
I read the source of ArrayList I read
I read the source of Integer
I made a gem to post the text of org-mode to qiita
A memorandum of the FizzBuzz problem
I read the source of Long
I took a look at the resources of Azure Container Instance
I read the source of Short
I read the source of Byte
I made a tool to output the difference of CSV file
I read the source of String
I tried to make a sample program using the problem of database specialist in Domain Driven Design
Let's express the result of analyzing Java bytecode with a class diagram
Sample program that returns the hash value of a file in Java
Understand the official sample Coffee of Dagger2
A simple sample of ArBiMap (two-way map)
I investigated the internal processing of Retrofit
[day: 5] I summarized the basics of Java
A rudimentary note on the Fibonacci sequence
Find the difference from a multiple of 10
Creating a sample program using the problem of a database specialist in DDD Improvement 2
What I tried when I wanted to get all the fields of a bean
Creating a sample program using the problem of a database specialist in DDD Improvement 1
I made a sample of how to write delegate in SwiftUI 2.0 using MapKit
I managed to get a blank when I brought the contents of Beans to the textarea
I want to recursively get the superclass and interface of a certain class
I want to output the day of the week
I checked the place of concern of java.net.URL # getPath
Make a margin to the left of the TextField
Measure the size of a folder in Java
Set the time of LocalDateTime to a specific time
I compared the characteristics of Java and .NET
I want to var_dump the contents of the intent
I wrote a primality test program in Java
I touched on the new features of Java 15
I wrote a prime factorization program in Java
A collection of RSpecs that I used frequently
I tried using the profiler of IntelliJ IDEA
I checked the number of taxis with Ruby
Try the free version of Progate [Java I]
[Ruby] I want to make a program that displays today's day of the week!
I wrote a test code (Junit & mockit) for the code that calls the AWS API (Java)
I tried to create a log reproduction script at the time of apt install
I hate this kind of code! A collection of anti-patterns actually seen in the field
[Solution] A memo that I had a hard time because the format of sinatra-validation changed
When I created a user my page, the user editing function of devise became strange.
[Rails] I want to display the link destination of link_to in a separate tab
Sample code to assign a value in a property file to a field of the expected type
A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA