(Quick Reference)

2.6 What's New - Reference Documentation

Authors: The Whole GPars Gang

Version: 1.2.1

2.6 What's New

The new GPars 1.2.0 release introduces several enhancements and improvements on top of the previous release, mainly in the dataflow area.

Check out the JIRA release notes

Project changes

See the Breaking Changes listing for the list of breaking changes.

Asynchronous functions

Parallel collections

Fork / Join

Actors

  • Annotated actor and actor factory methods with @DelegatesTo to enable use of actors inside statically compiled Groovy code

Dataflow

  • A thenForkAndJoin() method added to Promises to ease the creation of a fork/join algorithm with promises
  • Lazy tasks were added to simplify creation of asynchronous activities with execution delayed until their result is actually asked for
  • Annotated operator factory methods with @DelegatesTo to enable use of dataflow operators and selectors inside statically compiled Groovy code

Agent

Stm

Other

  • Replaced java.util.Timer with ScheduledExecutorService for timeout handling
  • Proper shutdown of timers and thread-local variables added to the GParsConfig class

Renaming hints