Class StructuredConcurrencySecondIncubatorNotes
java.lang.Object
net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
Explains structured concurrency as a Java 20 second incubator feature.
When a parent operation starts several concurrent subtasks, the subtasks should have a clear lifetime relationship with the parent. Structured concurrency tries to make joining, cancellation, failure handling, and observability part of one coordinated unit of work.
The Java 20 API was still incubating, so the repository keeps this entry as notes instead of depending on an incubator module.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNames the practical benefits.Explains the incubator idea.Describes the Java 20 maturity level.nextStep()Points learners to the later preview module.Explains why manual coordination is difficult.Explains the practical problem.Explains why this project uses an explanatory module.
-
Constructor Details
-
StructuredConcurrencySecondIncubatorNotes
public StructuredConcurrencySecondIncubatorNotes()
-
-
Method Details
-
problemSolved
-
oldApproachProblem
Explains why manual coordination is difficult.- Returns:
- a short explanation
-
incubatorIdea
-
coordinationBenefits
-
incubatorStatus
-
projectDecision
Explains why this project uses an explanatory module.- Returns:
- the project decision
-
nextStep
Points learners to the later preview module.- Returns:
- a short next-step note
-