public class FutureResults extends Object
CompletableFutureform (applicable only to batch jobs).
The concrete job we are observing the results of is a simple word count. It inserts the text of The Complete Works of William Shakespeare into a Hazelcast IMap, then lets Jet count the words in it.
The results observed are
Map.Entrys containing words and their
counts, from which we then print the top N ones.
|Constructor and Description|
public static void main(String args)
Copyright © 2020 Hazelcast, Inc.. All rights reserved.