public class JobTrackerConfig extends Object
JobTracker.| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_CHUNK_SIZEDefault value of chunk size. | 
| static boolean | DEFAULT_COMMUNICATE_STATSDefault boolean value of communication statics.define how a map reduce job behaves | 
| static int | DEFAULT_MAX_THREAD_SIZEDefault size of thread. | 
| static int | DEFAULT_QUEUE_SIZEDefault value of Queue size. | 
| static int | DEFAULT_RETRY_COUNTDefault value of retry counter. | 
| static TopologyChangedStrategy | DEFAULT_TOPOLOGY_CHANGED_STRATEGYDefine how a map reduce job behaves. | 
| Constructor and Description | 
|---|
| JobTrackerConfig() | 
| JobTrackerConfig(JobTrackerConfig source) | 
| Modifier and Type | Method and Description | 
|---|---|
| JobTrackerConfig | getAsReadOnly() | 
| int | getChunkSize()Gets the number of emitted values before a chunk is send to the reducers. | 
| int | getMaxThreadSize()Gets the maximum thread pool size of this  JobTracker. | 
| String | getName()Gets the name of this  JobTracker. | 
| int | getQueueSize()Gets the maximum size of the queue; the maximum number of tasks that can wait to be processed. | 
| int | getRetryCount()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. | 
| TopologyChangedStrategy | getTopologyChangedStrategy()Gets how the map reduce framework will react on topology
 changes while executing a job. | 
| boolean | isCommunicateStats()True if statistics (for example, about processed entries)
 are transmitted to the job emitter, false otherwise. | 
| 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. | 
| JobTrackerConfig | 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. | 
public static final int DEFAULT_MAX_THREAD_SIZE
public static final int DEFAULT_RETRY_COUNT
public static final int DEFAULT_CHUNK_SIZE
public static final int DEFAULT_QUEUE_SIZE
public static final boolean DEFAULT_COMMUNICATE_STATS
public static final TopologyChangedStrategy DEFAULT_TOPOLOGY_CHANGED_STRATEGY
public JobTrackerConfig()
public JobTrackerConfig(JobTrackerConfig source)
public JobTrackerConfig setName(String name)
JobTracker.name - the name of the JobTracker.public String getName()
JobTracker.JobTracker.public int getMaxThreadSize()
JobTracker.JobTracker.public void setMaxThreadSize(int maxThreadSize)
JobTracker.maxThreadSize - the maximum thread pool size of the JobTracker.public int getRetryCount()
public void setRetryCount(int retryCount)
public int getChunkSize()
public void setChunkSize(int chunkSize)
chunkSize - The number of emitted values before a chunk is sent to the reducers.public JobTrackerConfig getAsReadOnly()
public int getQueueSize()
public void setQueueSize(int queueSize)
queueSize - The maximum size of the queue.public boolean isCommunicateStats()
public void setCommunicateStats(boolean communicateStats)
communicateStats - True if statistics (for example, about processed entries) are transmitted to the job emitter,
                         false otherwise.public TopologyChangedStrategy getTopologyChangedStrategy()
public void setTopologyChangedStrategy(TopologyChangedStrategy topologyChangedStrategy)
topologyChangedStrategy - How the map reduce framework will react on topology
                                changes while executing a job.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.