public class JetConfig
extends com.hazelcast.config.Config
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SECONDS_TO_AWAIT
Represents default value for any futures in system
|
| Constructor and Description |
|---|
JetConfig()
Constructs an empty config
|
| Modifier and Type | Method and Description |
|---|---|
JetConfig |
addApplicationConfig(ApplicationConfig config)
Sets the configuration for a given application
|
ApplicationConfig |
getApplicationConfig(String name)
Gets the configuration for a given application name
|
int |
getIoThreadCount()
Gets the number of I/O threads to use
|
int |
getPort()
Gets the port which Jet listens on
|
int |
getProcessingThreadCount()
Gets the number of processing threads to use
|
int |
getShutdownTimeoutSeconds()
Gets the timeout to use when shutting down threads
|
JetConfig |
setIoThreadCount(int count)
Sets the number of I/O threads to use
|
JetConfig |
setPort(int port)
Sets the port which Jet listens on
|
JetConfig |
setProcessingThreadCount(int count)
Sets the number of processing threads to use
|
JetConfig |
setShutdownTimeoutSeconds(int seconds)
Sets the timeout to use when shutting down threads
|
addCacheConfig, addExecutorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addQueueConfig, addQuorumConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findExecutorConfig, findJobTrackerConfig, findListConfig, findMapConfig, findMultiMapConfig, findQueueConfig, findQuorumConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findSemaphoreConfig, findSetConfig, findTopicConfig, getCacheConfig, getCacheConfigs, getClassLoader, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getExecutorConfig, getExecutorConfigs, getGroupConfig, getHotRestartPersistenceConfig, getInstanceName, getJobTrackerConfig, getJobTrackerConfigs, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigs, getMemberAttributeConfig, getMultiMapConfig, getMultiMapConfigs, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getProperties, getProperty, getProperty, getQueueConfig, getQueueConfigs, getQuorumConfig, getQuorumConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRingbufferConfig, getRingbufferConfigs, getSecurityConfig, getSemaphoreConfig, getSemaphoreConfigs, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getTopicConfig, getTopicConfigs, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isCompatible, isLiteMember, setCacheConfigs, setClassLoader, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setExecutorConfigs, setGroupConfig, setHotRestartPersistenceConfig, setInstanceName, setJobTrackerConfigs, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMultiMapConfigs, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setProperties, setProperty, setProperty, setQueueConfigs, setQuorumConfigs, setReplicatedMapConfigs, setSecurityConfig, setSemaphoreConfigs, setSerializationConfig, setServicesConfig, setSetConfigs, setTopicConfigs, setUserContext, setWanReplicationConfigs, toStringpublic static final int DEFAULT_SECONDS_TO_AWAIT
public ApplicationConfig getApplicationConfig(String name)
name - name of the applicationpublic JetConfig addApplicationConfig(ApplicationConfig config)
config - name of the applicationpublic int getProcessingThreadCount()
public JetConfig setProcessingThreadCount(int count)
count - the number of processing threadspublic int getIoThreadCount()
public JetConfig setIoThreadCount(int count)
count - the number of I/O threadspublic int getShutdownTimeoutSeconds()
public JetConfig setShutdownTimeoutSeconds(int seconds)
public int getPort()
public JetConfig setPort(int port)
port - the port which Jet listens onCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.