public class JMXDistributedSystemConfig extends Object implements com.gemstone.gemfire.admin.DistributedSystemConfig
DistributedSystemConfig that
communicates via JMX. Note that some of the methods of this class
could access attributes and operations on the
GemFireAgent MBean.| Modifier and Type | Field and Description |
|---|---|
protected MBeanServerConnection |
mbs
The MBean server used to operate on beans
|
protected ObjectName |
objectName
The name of the JMX Bean we delegate to
|
BIND_ADDRESS_NAME, DEFAULT_ACK_SEVERE_ALERT_THRESHOLD, DEFAULT_ACK_WAIT_THRESHOLD, DEFAULT_BIND_ADDRESS, DEFAULT_DISABLE_AUTO_RECONNECT, DEFAULT_DISABLE_TCP, DEFAULT_ENABLE_NETWORK_PARTITION_DETECTION, DEFAULT_ENTITY_CONFIG_XML_FILE, DEFAULT_LOCATORS, DEFAULT_LOG_DISK_SPACE_LIMIT, DEFAULT_LOG_FILE, DEFAULT_LOG_FILE_SIZE_LIMIT, DEFAULT_LOG_LEVEL, DEFAULT_MCAST_ADDRESS, DEFAULT_MCAST_PORT, DEFAULT_MEMBER_TIMEOUT, DEFAULT_MEMBERSHIP_PORT_RANGE, DEFAULT_NAME, DEFAULT_REFRESH_INTERVAL, DEFAULT_REMOTE_COMMAND, DEFAULT_SSL_CIPHERS, DEFAULT_SSL_ENABLED, DEFAULT_SSL_PROTOCOLS, DEFAULT_SSL_REQUIRE_AUTHENTICATION, DEFAULT_SYSTEM_ID, DEFAULT_TCP_PORT, ENTITY_CONFIG_XML_FILE_NAME, LOCATORS_NAME, LOG_DISK_SPACE_LIMIT_NAME, LOG_FILE_NAME, LOG_FILE_SIZE_LIMIT_NAME, LOG_LEVEL_NAME, MAX_ACK_SEVERE_ALERT_THRESHOLD, MAX_ACK_WAIT_THRESHOLD, MAX_LOG_DISK_SPACE_LIMIT, MAX_LOG_FILE_SIZE_LIMIT, MAX_MCAST_PORT, MCAST_ADDRESS_NAME, MCAST_PORT_NAME, MEMBERSHIP_PORT_RANGE_NAME, MIN_ACK_SEVERE_ALERT_THRESHOLD, MIN_ACK_WAIT_THRESHOLD, MIN_LOG_DISK_SPACE_LIMIT, MIN_LOG_FILE_SIZE_LIMIT, MIN_MCAST_PORT, NAME_NAME, REFRESH_INTERVAL_NAME, REMOTE_COMMAND_NAME, SSL_CIPHERS_NAME, SSL_ENABLED_NAME, SSL_PROTOCOLS_NAME, SSL_REQUIRE_AUTHENTICATION_NAME, SYSTEM_ID_NAME, TCP_PORT_NAME| Modifier and Type | Method and Description |
|---|---|
void |
addListener(com.gemstone.gemfire.admin.DistributedSystemConfig.ConfigListener listener) |
void |
addSSLProperty(String key,
String value) |
Object |
clone() |
com.gemstone.gemfire.admin.CacheServerConfig |
createCacheServerConfig() |
com.gemstone.gemfire.admin.CacheVmConfig |
createCacheVmConfig() |
com.gemstone.gemfire.admin.DistributionLocatorConfig |
createDistributionLocatorConfig() |
int |
getAckSevereAlertThreshold() |
int |
getAckWaitThreshold() |
String |
getBindAddress() |
com.gemstone.gemfire.admin.CacheServerConfig[] |
getCacheServerConfigs() |
com.gemstone.gemfire.admin.CacheVmConfig[] |
getCacheVmConfigs() |
boolean |
getDisableAutoReconnect() |
boolean |
getDisableTcp() |
com.gemstone.gemfire.admin.DistributionLocatorConfig[] |
getDistributionLocatorConfigs() |
com.gemstone.gemfire.admin.DistributionLocator[] |
getDistributionLocators() |
boolean |
getEnableNetworkPartitionDetection() |
String |
getEntityConfigXMLFile() |
String |
getLocators() |
int |
getLogDiskSpaceLimit() |
String |
getLogFile() |
int |
getLogFileSizeLimit() |
String |
getLogLevel() |
String |
getMcastAddress() |
int |
getMcastPort() |
String |
getMembershipPortRange() |
int |
getMemberTimeout() |
int |
getRefreshInterval() |
String |
getRemoteCommand() |
String |
getServerBindAddress() |
String |
getSSLCiphers() |
Properties |
getSSLProperties() |
String |
getSSLProtocols() |
String |
getSystemId() |
String |
getSystemName() |
int |
getTcpPort() |
protected RuntimeException |
handleException(Exception ex)
Handles the given exception and will throw the appropriate
wrapped runtime exception.
|
boolean |
isSSLAuthenticationRequired() |
boolean |
isSSLEnabled() |
void |
removeCacheServerConfig(com.gemstone.gemfire.admin.CacheServerConfig config) |
void |
removeCacheVmConfig(com.gemstone.gemfire.admin.CacheVmConfig config) |
void |
removeDistributionLocatorConfig(com.gemstone.gemfire.admin.DistributionLocatorConfig config) |
void |
removeListener(com.gemstone.gemfire.admin.DistributedSystemConfig.ConfigListener listener) |
void |
removeSSLProperty(String key) |
void |
setAckSevereAlertThreshold(int seconds) |
void |
setAckWaitThreshold(int seconds) |
void |
setBindAddress(String bindAddress) |
void |
setDisableAutoReconnect(boolean newValue) |
void |
setDisableTcp(boolean flag) |
void |
setDistributionLocators(com.gemstone.gemfire.admin.DistributionLocator[] locators) |
void |
setEnableNetworkPartitionDetection(boolean newValue) |
void |
setEntityConfigXMLFile(String xmlFile) |
void |
setLocators(String locators) |
void |
setLogDiskSpaceLimit(int limit) |
void |
setLogFile(String logFile) |
void |
setLogFileSizeLimit(int limit) |
void |
setLogLevel(String logLevel) |
void |
setMcastAddress(String mcastAddress) |
void |
setMcastPort(int mcastPort) |
void |
setMembershipPortRange(String membershipPortRange) |
void |
setMemberTimeout(int value) |
void |
setRefreshInterval(int interval) |
void |
setRemoteCommand(String command) |
void |
setServerBindAddress(String bindAddress) |
void |
setSSLAuthenticationRequired(boolean authRequired) |
void |
setSSLCiphers(String ciphers) |
void |
setSSLEnabled(boolean enabled) |
void |
setSSLProperties(Properties sslProperties) |
void |
setSSLProtocols(String protocols) |
void |
setSystemId(String systemId) |
void |
setSystemName(String name) |
void |
setTcpPort(int port) |
void |
validate() |
protected MBeanServerConnection mbs
protected ObjectName objectName
protected RuntimeException handleException(Exception ex)
public String getEntityConfigXMLFile()
getEntityConfigXMLFile in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setEntityConfigXMLFile(String xmlFile)
setEntityConfigXMLFile in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getSystemId()
getSystemId in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSystemId(String systemId)
setSystemId in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getSystemName()
getSystemName in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSystemName(String name)
setSystemName in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getMcastAddress()
getMcastAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic boolean getDisableTcp()
getDisableTcp in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setDisableTcp(boolean flag)
setDisableTcp in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setMcastAddress(String mcastAddress)
setMcastAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getMcastPort()
getMcastPort in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setMcastPort(int mcastPort)
setMcastPort in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getAckWaitThreshold()
getAckWaitThreshold in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setAckWaitThreshold(int seconds)
setAckWaitThreshold in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getAckSevereAlertThreshold()
getAckSevereAlertThreshold in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setAckSevereAlertThreshold(int seconds)
setAckSevereAlertThreshold in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setEnableNetworkPartitionDetection(boolean newValue)
setEnableNetworkPartitionDetection in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic boolean getEnableNetworkPartitionDetection()
getEnableNetworkPartitionDetection in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setDisableAutoReconnect(boolean newValue)
setDisableAutoReconnect in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic boolean getDisableAutoReconnect()
getDisableAutoReconnect in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getMemberTimeout()
getMemberTimeout in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setMemberTimeout(int value)
setMemberTimeout in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getLocators()
getLocators in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setLocators(String locators)
setLocators in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getMembershipPortRange()
getMembershipPortRange in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setMembershipPortRange(String membershipPortRange)
setMembershipPortRange in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getBindAddress()
getBindAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setBindAddress(String bindAddress)
setBindAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getServerBindAddress()
getServerBindAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setServerBindAddress(String bindAddress)
setServerBindAddress in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getRemoteCommand()
getRemoteCommand in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setRemoteCommand(String command)
setRemoteCommand in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.DistributionLocator[] getDistributionLocators()
public void setDistributionLocators(com.gemstone.gemfire.admin.DistributionLocator[] locators)
public boolean isSSLEnabled()
isSSLEnabled in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSSLEnabled(boolean enabled)
setSSLEnabled in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getSSLProtocols()
getSSLProtocols in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSSLProtocols(String protocols)
setSSLProtocols in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getSSLCiphers()
getSSLCiphers in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSSLCiphers(String ciphers)
setSSLCiphers in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic boolean isSSLAuthenticationRequired()
isSSLAuthenticationRequired in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSSLAuthenticationRequired(boolean authRequired)
setSSLAuthenticationRequired in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic Properties getSSLProperties()
getSSLProperties in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setSSLProperties(Properties sslProperties)
setSSLProperties in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void addSSLProperty(String key, String value)
addSSLProperty in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void removeSSLProperty(String key)
removeSSLProperty in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getLogFile()
getLogFile in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setLogFile(String logFile)
setLogFile in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getRefreshInterval()
getRefreshInterval in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setRefreshInterval(int interval)
setRefreshInterval in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic String getLogLevel()
getLogLevel in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setLogLevel(String logLevel)
setLogLevel in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getLogDiskSpaceLimit()
getLogDiskSpaceLimit in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setLogDiskSpaceLimit(int limit)
setLogDiskSpaceLimit in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic int getLogFileSizeLimit()
getLogFileSizeLimit in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setLogFileSizeLimit(int limit)
setLogFileSizeLimit in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.CacheServerConfig[] getCacheServerConfigs()
getCacheServerConfigs in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.CacheServerConfig createCacheServerConfig()
createCacheServerConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void removeCacheServerConfig(com.gemstone.gemfire.admin.CacheServerConfig config)
removeCacheServerConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.CacheVmConfig[] getCacheVmConfigs()
getCacheVmConfigs in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.CacheVmConfig createCacheVmConfig()
createCacheVmConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void removeCacheVmConfig(com.gemstone.gemfire.admin.CacheVmConfig config)
removeCacheVmConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.DistributionLocatorConfig[] getDistributionLocatorConfigs()
getDistributionLocatorConfigs in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic com.gemstone.gemfire.admin.DistributionLocatorConfig createDistributionLocatorConfig()
createDistributionLocatorConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void removeDistributionLocatorConfig(com.gemstone.gemfire.admin.DistributionLocatorConfig config)
removeDistributionLocatorConfig in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void addListener(com.gemstone.gemfire.admin.DistributedSystemConfig.ConfigListener listener)
addListener in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void removeListener(com.gemstone.gemfire.admin.DistributedSystemConfig.ConfigListener listener)
removeListener in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void validate()
validate in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic Object clone()
public int getTcpPort()
getTcpPort in interface com.gemstone.gemfire.admin.DistributedSystemConfigpublic void setTcpPort(int port)
setTcpPort in interface com.gemstone.gemfire.admin.DistributedSystemConfigCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.