Skip to content

Instantly share code, notes, and snippets.

@parzonka
parzonka / DistributionTest.java
Last active July 27, 2016 18:38 — forked from MikhailGolubtsov/DistributionTest
Hazelcast map-reduce example - counting distribution
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.mapreduce.Combiner;
import com.hazelcast.mapreduce.CombinerFactory;
import com.hazelcast.mapreduce.Context;
import com.hazelcast.mapreduce.Job;
import com.hazelcast.mapreduce.JobCompletableFuture;
import com.hazelcast.mapreduce.JobTracker;
import com.hazelcast.mapreduce.KeyValueSource;