public class ClientMapReduceProxy extends ClientProxy implements JobTracker
name| Constructor and Description |
|---|
ClientMapReduceProxy(String serviceName,
String objectName) |
| 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, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeOnPartition, invokeOnPartitionInterruptibly, onInitialize, onShutdown, registerListener, setContext, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getName, getPartitionKey, getServiceNameprotected 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 © 2016 Hazelcast, Inc.. All Rights Reserved.