public class ClientMapReduceProxy extends ClientProxy implements JobTracker
JobTracker for a client initiated map reduce job.name| Constructor and Description |
|---|
ClientMapReduceProxy(String serviceName,
String objectName,
ClientContext context) |
| Modifier and Type | Method and Description |
|---|---|
<V> TrackableJob<V> |
getTrackableJob(String jobId)
Returns an implementation of
TrackableJob, or null if the job ID is not available
or the job is already finished. |
<K,V> Job<K,V> |
newJob(KeyValueSource<K,V> source)
Builds a
Job instance for the given KeyValueSource instance. |
protected void |
onDestroy()
Called before proxy is destroyed.
|
String |
toString() |
deregisterListener, destroy, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getName, getPartitionKey, getServiceNamepublic ClientMapReduceProxy(String serviceName, String objectName, ClientContext context)
protected void onDestroy()
ClientProxyonDestroy in class ClientProxypublic <K,V> Job<K,V> newJob(KeyValueSource<K,V> source)
JobTrackerJob instance for the given KeyValueSource instance. The returning
implementation depends on the HazelcastInstance that created
the JobTracker.HazelcastInstance instances than the one used for creation of the
JobTracker. Unexpected results may happen!newJob in interface JobTrackerK - type of the keyV - type of the valuesource - data source the created Job should work onpublic <V> TrackableJob<V> getTrackableJob(String jobId)
JobTrackerTrackableJob, or null if the job ID is not available
or the job is already finished.getTrackableJob in interface JobTrackerV - type of the resulting valuejobId - job ID to search the TrackableJob forCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.