com.hazelcast.config
Class JobTrackerConfig

java.lang.Object
  extended by com.hazelcast.config.JobTrackerConfig
Direct Known Subclasses:
JobTrackerConfigReadOnly

public class JobTrackerConfig
extends Object

Contains the configuration for an JobTracker.


Field Summary
static int DEFAULT_CHUNK_SIZE
          Default value of chunk size.
static boolean DEFAULT_COMMUNICATE_STATS
          Default boolean value of communication statics.define how a map reduce job behaves
static int DEFAULT_MAX_THREAD_SIZE
          Default size of thread.
static int DEFAULT_QUEUE_SIZE
          Default value of Queue size.
static int DEFAULT_RETRY_COUNT
          Default value of retry counter.
static TopologyChangedStrategy DEFAULT_TOPOLOGY_CHANGED_STRATEGY
          Define how a map reduce job behaves.
 
Constructor Summary
JobTrackerConfig()
           
JobTrackerConfig(JobTrackerConfig source)
           
 
Method Summary
 JobTrackerConfig getAsReadOnly()
           
 int getChunkSize()
           
 int getMaxThreadSize()
           
 String getName()
           
 int getQueueSize()
           
 int getRetryCount()
           
 TopologyChangedStrategy getTopologyChangedStrategy()
           
 boolean isCommunicateStats()
           
 void setChunkSize(int chunkSize)
           
 void setCommunicateStats(boolean communicateStats)
           
 void setMaxThreadSize(int maxThreadSize)
           
 JobTrackerConfig setName(String name)
           
 void setQueueSize(int queueSize)
           
 void setRetryCount(int retryCount)
           
 void setTopologyChangedStrategy(TopologyChangedStrategy topologyChangedStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_THREAD_SIZE

public static final int DEFAULT_MAX_THREAD_SIZE
Default size of thread.


DEFAULT_RETRY_COUNT

public static final int DEFAULT_RETRY_COUNT
Default value of retry counter.

See Also:
Constant Field Values

DEFAULT_CHUNK_SIZE

public static final int DEFAULT_CHUNK_SIZE
Default value of chunk size.

See Also:
Constant Field Values

DEFAULT_QUEUE_SIZE

public static final int DEFAULT_QUEUE_SIZE
Default value of Queue size.

See Also:
Constant Field Values

DEFAULT_COMMUNICATE_STATS

public static final boolean DEFAULT_COMMUNICATE_STATS
Default boolean value of communication statics.define how a map reduce job behaves

See Also:
Constant Field Values

DEFAULT_TOPOLOGY_CHANGED_STRATEGY

public static final TopologyChangedStrategy DEFAULT_TOPOLOGY_CHANGED_STRATEGY
Define how a map reduce job behaves.

Constructor Detail

JobTrackerConfig

public JobTrackerConfig()

JobTrackerConfig

public JobTrackerConfig(JobTrackerConfig source)
Method Detail

setName

public JobTrackerConfig setName(String name)

getName

public String getName()

getMaxThreadSize

public int getMaxThreadSize()

setMaxThreadSize

public void setMaxThreadSize(int maxThreadSize)

getRetryCount

public int getRetryCount()

setRetryCount

public void setRetryCount(int retryCount)

getChunkSize

public int getChunkSize()

setChunkSize

public void setChunkSize(int chunkSize)

getAsReadOnly

public JobTrackerConfig getAsReadOnly()

getQueueSize

public int getQueueSize()

setQueueSize

public void setQueueSize(int queueSize)

isCommunicateStats

public boolean isCommunicateStats()

setCommunicateStats

public void setCommunicateStats(boolean communicateStats)

getTopologyChangedStrategy

public TopologyChangedStrategy getTopologyChangedStrategy()

setTopologyChangedStrategy

public void setTopologyChangedStrategy(TopologyChangedStrategy topologyChangedStrategy)


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