As such, the language constructs available in HJ are available as static method calls which accept lambdas as arguments in the library implementation.
Referring to the language constructs will give a good introduction to the static methods provided in HJ-Lib.
The API documentation for HJ-lib is available here. The most important classes that provide support for the static methods to use are:
A summary of the configuration options that can be used to initialize the HJ-lib runtime is available as the different enum constants in the HjSystemProperty class.
Primers on how to use HJ-lib are also available to view online here. These examples can be used to test the various constructs such as:
- initializing and finalizing the runtime
- finish-accumulators (creation, finish-registration)
- DataDrivenFuture (DDF) (creation, async await)
- phasers (creation, next, signal, and wait)
- isolated (variants: global isolation, object-based isolation, read-write mode isolation)
and their corresponding variants.
Code examples of how to interact with HJ-Lib API and the different parallel constructs are also available.