com.hazelcast.mapreduce
Interface JobCompletableFuture<V>

Type Parameters:
V - type of the resulting value
All Superinterfaces:
Future<V>, ICompletableFuture<V>

@Beta
public interface JobCompletableFuture<V>
extends ICompletableFuture<V>

This is a special version of ICompletableFuture to return the assigned job id of the submit operation.

Since:
3.2

Method Summary
 String getJobId()
          Returns the unique identifier for this mapreduce job.
 
Methods inherited from interface com.hazelcast.core.ICompletableFuture
andThen, andThen
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Method Detail

getJobId

String getJobId()
Returns the unique identifier for this mapreduce job. This jobId is used to identify the same job on all cluster nodes and is unique in the cluster.

Returns:
jobId for this job


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.