public class JobTrackerConfigReadOnly extends JobTrackerConfig
JobTracker.DEFAULT_CHUNK_SIZE, DEFAULT_COMMUNICATE_STATS, DEFAULT_MAX_THREAD_SIZE, DEFAULT_QUEUE_SIZE, DEFAULT_RETRY_COUNT, DEFAULT_TOPOLOGY_CHANGED_STRATEGY| Modifier and Type | Method and Description |
|---|---|
void |
setChunkSize(int chunkSize)
Sets the number of emitted values before a chunk is send to the reducers.
|
void |
setCommunicateStats(boolean communicateStats)
Set to true if statistics (for example, about processed entries)
should be transmitted to the job emitter, false otherwise.
|
void |
setMaxThreadSize(int maxThreadSize)
Sets the maximum thread pool size of this
JobTracker. |
JobTrackerConfigReadOnly |
setName(String name)
Sets the name of this
JobTracker. |
void |
setQueueSize(int queueSize)
Sets the maximum size of the queue; the maximum number of tasks that can wait to be processed.
|
void |
setRetryCount(int retryCount)
retry count is currently not used but reserved for later use where the framework will
automatically try to restart / retry operations from a available savepoint.
|
void |
setTopologyChangedStrategy(TopologyChangedStrategy topologyChangedStrategy)
Sets how the map reduce framework will react on topology
changes while executing a job.
|
getAsReadOnly, getChunkSize, getMaxThreadSize, getName, getQueueSize, getRetryCount, getTopologyChangedStrategy, isCommunicateStatspublic JobTrackerConfigReadOnly setName(String name)
JobTrackerConfigJobTracker.setName in class JobTrackerConfigname - the name of the JobTracker.public void setMaxThreadSize(int maxThreadSize)
JobTrackerConfigJobTracker.setMaxThreadSize in class JobTrackerConfigmaxThreadSize - the maximum thread pool size of the JobTracker.public void setRetryCount(int retryCount)
JobTrackerConfigsetRetryCount in class JobTrackerConfigpublic void setChunkSize(int chunkSize)
JobTrackerConfigsetChunkSize in class JobTrackerConfigchunkSize - The number of emitted values before a chunk is sent to the reducers.public void setQueueSize(int queueSize)
JobTrackerConfigsetQueueSize in class JobTrackerConfigqueueSize - The maximum size of the queue.public void setCommunicateStats(boolean communicateStats)
JobTrackerConfigsetCommunicateStats in class JobTrackerConfigcommunicateStats - True if statistics (for example, about processed entries) are transmitted to the job emitter,
false otherwise.public void setTopologyChangedStrategy(TopologyChangedStrategy topologyChangedStrategy)
JobTrackerConfigsetTopologyChangedStrategy in class JobTrackerConfigtopologyChangedStrategy - How the map reduce framework will react on topology
changes while executing a job.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.