Today we released an important update to Oracle Tools, now at version 1.1.0.
The good news is that it's compatible with Oracle Tools 1.0.0 (without changes). The awesome news is it's packed with new features to simplify development effort even more!
Here's a brief summary:
As part of the Runtime Module we introduced a Remote Executor framework that allows developers to submit arbitrary Callables and Runnables (and Lambda expressions) to running applications, whether they be Container-based or using Native processes. eg: application.submit(callable, completionListener);
We further enhanced the Runtime Module to protect against "orphaned" Native processes. Not that this was a huge problem or was it reported to us, but as we saw it a few times in our own testing we decided to resolve it for everyone.
As part of the Coherence Module we refactored the implementations to leverage the Remote Executor framework, the outcome being, developers no longer need to enable JMX support to remotely control Coherence-based applications, regardless of the type of builder (Container-based or Native) used.
We introduced new documentation for the Coherence Module, including examples on how to use the ClusterMemberSchema and ClusterBuilders.
As part of the Testing Support Module we introduced the new Eventually static class, replacing the now deprecated DeferredAssert static class, together with new application-based executable support. Where ever you may have used DeferredAssert you can simply replace it with the new Eventually class. More importantly though is the new extension for applications callables.
Say you'd like to assert that the result of a Callable invoked by an application (running in a Container or as a Native process) eventually reaches a certain state. Now you can simply do this:
Eventually.assertThat(application, callable, matcher);
or for Coherence users, you can do things like this:
Eventually.assertThat(member, new GetClusterSize(), is(1));
The official documentation can be found here:
We've got a lot of cool ideas for new features in the pipeline so stay tuned!