VMware GemFire Java API Reference
Interface DistributedSystemConfig
-
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
AgentConfig
@Deprecated public interface DistributedSystemConfig extends Cloneable
Deprecated.as of 7.0 use themanagementpackage insteadConfiguration for defining a GemFire distributed system to administrate. This configuration includes information about the discovery mechanism used to find members of the distributed system and information about managed entities such as distribution locators and GemFire cache vms that can be started.Detailed descriptions of many of these configuration attributes can be found in the
DistributedSystemclass. Note that the default values of these configuration attributes can be specified using Java system properties.A
DistributedSystemConfigcan be modified using a number of mutator methods until theAdminDistributedSystemthat it configures connects to the distributed system. After that, attempts to modify most attributes in theDistributedSystemConfigwill result in anIllegalStateExceptionbeing thrown. If you wish to use the sameDistributedSystemConfigto configure multipleAdminDistributedSystems, a copy of theDistributedSystemConfigobject can be made by invoking theclone()method.- Since:
- GemFire 3.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDistributedSystemConfig.ConfigListenerDeprecated.A listener whose callback methods are invoked when this config changes.
-
Field Summary
Fields Modifier and Type Field Description static StringBIND_ADDRESS_NAMEDeprecated.The name of the "bindAddress" propertystatic intDEFAULT_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The default ackSevereAlertThreshold.static intDEFAULT_ACK_WAIT_THRESHOLDDeprecated.The default AckWaitThreshold.static StringDEFAULT_BIND_ADDRESSDeprecated.The default value of the "bindAddress" propertystatic booleanDEFAULT_DISABLE_AUTO_RECONNECTDeprecated.The default disable-auto-reconnect setting (false)static booleanDEFAULT_DISABLE_JMXDeprecated.The default disable-jmx value (false)static booleanDEFAULT_ENABLE_NETWORK_PARTITION_DETECTIONDeprecated.The default enable-network-partition-detection setting (false)static StringDEFAULT_ENTITY_CONFIG_XML_FILEDeprecated.The default value of the "entity-config-xml-file" property ("distributed-system.xml").static StringDEFAULT_LOCATORSDeprecated.The default value of the "locators" property ("")static intDEFAULT_LOG_DISK_SPACE_LIMITDeprecated.The default log disk space limit in megabytes (0)static StringDEFAULT_LOG_FILEDeprecated.The default log-file value ("" which directs logging to standard output)static intDEFAULT_LOG_FILE_SIZE_LIMITDeprecated.The default log file size limit in megabytes (0)static StringDEFAULT_LOG_LEVELDeprecated.The default log level ("config")static StringDEFAULT_MCAST_ADDRESSDeprecated.The default value of the "mcastAddress" property (239.192.81.1).static intDEFAULT_MCAST_PORTDeprecated.The default value of the "mcastPort" property (10334)static intDEFAULT_MEMBER_TIMEOUTDeprecated.The default failure-detection timeout period for member heart-beat responsesstatic int[]DEFAULT_MEMBERSHIP_PORT_RANGEDeprecated.The default membership-port-range.static StringDEFAULT_NAMEDeprecated.The default value of the "name" property ("").static intDEFAULT_REFRESH_INTERVALDeprecated.The default "refreshInterval" in seconds which will apply to REFRESH_INTERVAL_NAME property.static StringDEFAULT_REMOTE_COMMANDDeprecated.The default value of the remote-command propertystatic StringDEFAULT_SYSTEM_IDDeprecated.The default value of the "system-id" property ("")static intDEFAULT_TCP_PORTDeprecated.The default value of the "tcpPort" property.static StringENTITY_CONFIG_XML_FILE_NAMEDeprecated.The name of an XML file that specifies the configuration for the managed entities administered by theDistributedSystem.static StringLOCATORS_NAMEDeprecated.The name of the "locators" property (comma-delimited host[port] list)static StringLOG_DISK_SPACE_LIMIT_NAMEDeprecated.The name of the "LogDiskSpaceLimit" propertystatic StringLOG_FILE_NAMEDeprecated.The name of the "logFile" propertystatic StringLOG_FILE_SIZE_LIMIT_NAMEDeprecated.The name of the "LogFileSizeLimit" propertystatic StringLOG_LEVEL_NAMEDeprecated.The name of the "logLevel" propertystatic intMAX_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The maximum ackSevereAlertThreshold.static intMAX_ACK_WAIT_THRESHOLDDeprecated.The maximum AckWaitThreshold.static intMAX_LOG_DISK_SPACE_LIMITDeprecated.The minimum log disk space limit in megabytes (1000000)static intMAX_LOG_FILE_SIZE_LIMITDeprecated.The minimum log file size limit in megabytes (1000000)static intMAX_MCAST_PORTDeprecated.The maximum mcastPort (65535)static StringMEMBERSHIP_PORT_RANGE_NAMEDeprecated.The name of the "membership-port-range" propertystatic intMIN_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The minimum ackSevereAlertThreshold.static intMIN_ACK_WAIT_THRESHOLDDeprecated.The minimum AckWaitThreshold.static intMIN_LOG_DISK_SPACE_LIMITDeprecated.The minimum log disk space limit in megabytes (0)static intMIN_LOG_FILE_SIZE_LIMITDeprecated.The minimum log file size limit in megabytes (0)static intMIN_MCAST_PORTDeprecated.The minimum mcastPort (0)static StringNAME_NAMEDeprecated.The name of the "name" property.static StringREFRESH_INTERVAL_NAMEDeprecated.The name of the "refreshInterval" property which will apply to SystemMember, SystemMemberCache and StatisticResource refresh.static StringREMOTE_COMMAND_NAMEDeprecated.The name of the remote-command propertystatic StringSYSTEM_ID_NAMEDeprecated.The name of the "system-id" propertystatic StringTCP_PORT_NAMEDeprecated.settings for tcp-port
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddListener(DistributedSystemConfig.ConfigListener listener)Deprecated.Registers listener for notification of changes in this config.voidaddSSLProperty(String key, String value)Deprecated.Adds an SSL propertyObjectclone()Deprecated.Returns a copy of thisDistributedSystemConfigobject whose configuration can be modified.CacheServerConfigcreateCacheServerConfig()Deprecated.as of 5.7 usecreateCacheVmConfig()instead.CacheVmConfigcreateCacheVmConfig()Deprecated.Creates the configuration for aCacheVm.DistributionLocatorConfigcreateDistributionLocatorConfig()Deprecated.Creates a newDistributionLocatorConfigfor a distribution locator that is managed in this distributed system.intgetAckSevereAlertThreshold()Deprecated.Returns the ack-severe-alert-threshold for the systemintgetAckWaitThreshold()Deprecated.Returns the ack-wait-threshold for the systemStringgetBindAddress()Deprecated.Returns the IP address to which the distributed system's server sockets are bound.CacheServerConfig[]getCacheServerConfigs()Deprecated.as of 5.7 usegetCacheVmConfigs()instead.CacheVmConfig[]getCacheVmConfigs()Deprecated.Returns an array of configurations for statically knownCacheVms.booleangetDisableAutoReconnect()Deprecated.Returns true if auto reconnect is disabledbooleangetDisableJmx()Deprecated.Returns the disable-jmx property for the process.DistributionLocatorConfig[]getDistributionLocatorConfigs()Deprecated.Returns configuration information aboutDistributionLocators that are managed by anAdminDistributedSystem.booleangetEnableNetworkPartitionDetection()Deprecated.Returns true if network partition detection is enabled.StringgetEntityConfigXMLFile()Deprecated.Returns the name of the XML file that specifies the configuration of the managed entities administered by theDistributedSystem.StringgetLocators()Deprecated.Returns a comma-delimited list of locators for the systemintgetLogDiskSpaceLimit()Deprecated.Returns the log disk space limit in megabytesStringgetLogFile()Deprecated.Returns the name of the log file to which informational messages are written.intgetLogFileSizeLimit()Deprecated.Returns the log file size limit in megabytesStringgetLogLevel()Deprecated.Returns the level at which informational messages are logged.StringgetMcastAddress()Deprecated.Returns the multicast address for the systemintgetMcastPort()Deprecated.Returns the multicast port for the systemStringgetMembershipPortRange()Deprecated.Returns the membership-port-range property of the Distributed System.intgetMemberTimeout()Deprecated.Returns the member-timeout millisecond value used in failure-detection protocolsintgetRefreshInterval()Deprecated.Returns the refreshInterval in seconds used for auto-polling and updating AdminDistributedSystem constituents including SystemMember, CacheServer, SystemMemberCache and StatisticResourceStringgetRemoteCommand()Deprecated.Returns the remote command setting to use for remote administrationStringgetServerBindAddress()Deprecated.Returns the IP address to which client/server server sockets are boundStringgetSSLCiphers()Deprecated.Returns the value of the "ssl-ciphers" property.PropertiesgetSSLProperties()Deprecated.Returns the provider-specific properties for SSL.StringgetSSLProtocols()Deprecated.Returns the value of the "ssl-protocols" property.StringgetSystemId()Deprecated.Returns the string identity for the systemStringgetSystemName()Deprecated.Returns the optional non-unique name for the systemintgetTcpPort()Deprecated.Returns the primary communication port number for the Distributed System.booleanisSSLAuthenticationRequired()Deprecated.Returns the value of the "ssl-require-authentication" property.booleanisSSLEnabled()Deprecated.Returns the value of the "ssl-enabled" property.voidremoveCacheServerConfig(CacheServerConfig managerConfig)Deprecated.as of 5.7 useremoveCacheVmConfig(org.apache.geode.admin.CacheVmConfig)instead.voidremoveCacheVmConfig(CacheVmConfig existing)Deprecated.Removes the configuration for aCacheVmvoidremoveDistributionLocatorConfig(DistributionLocatorConfig config)Deprecated.Removes aDistributionLocatorConfigfrom the distributed system.voidremoveListener(DistributedSystemConfig.ConfigListener listener)Deprecated.Removes previously registered listener of this config.voidremoveSSLProperty(String key)Deprecated.Removes an SSL propertyvoidsetAckSevereAlertThreshold(int seconds)Deprecated.Sets the ack-severe-alert-threshold for the systemvoidsetAckWaitThreshold(int seconds)Deprecated.Sets the ack-wait-threshold for the systemvoidsetBindAddress(String bindAddress)Deprecated.Sets the IP address to which the distributed system's server sockets are bound.voidsetDisableAutoReconnect(boolean newValue)Deprecated.Disables auto reconnect after being forced out of the distributed systemvoidsetDisableJmx(boolean flag)Deprecated.Sets the disable-jmx property for the system.voidsetEnableNetworkPartitionDetection(boolean newValue)Deprecated.Turns on network partition detectionvoidsetEntityConfigXMLFile(String xmlFile)Deprecated.Sets the name of the XML file that specifies the configuration of managed entities administered by theDistributedSystem.voidsetLocators(String locators)Deprecated.Sets the comma-delimited list of locators for the systemvoidsetLogDiskSpaceLimit(int limit)Deprecated.Sets the log disk space limit in megabytesvoidsetLogFile(String logFile)Deprecated.Sets the name of the log file to which informational messages are written.voidsetLogFileSizeLimit(int limit)Deprecated.Sets the log file size limit in megabytesvoidsetLogLevel(String logLevel)Deprecated.Sets the level at which information messages are logged.voidsetMcastAddress(String mcastAddress)Deprecated.Sets the multicast address for the systemvoidsetMcastPort(int mcastPort)Deprecated.Sets the multicast port for the systemvoidsetMembershipPortRange(String membershipPortRange)Deprecated.Sets the membership-port-range property of the Distributed System.voidsetMemberTimeout(int value)Deprecated.Set the millisecond value of the member-timeout used in failure-detection protocols.voidsetRefreshInterval(int timeInSecs)Deprecated.Sets the refreshInterval in secondsvoidsetRemoteCommand(String command)Deprecated.Sets the remote command setting to use for remote administration.voidsetServerBindAddress(String bindAddress)Deprecated.Sets the IP address to which a server cache will bind when listening for client cache connections.voidsetSSLAuthenticationRequired(boolean authRequired)Deprecated.Sets the value of the "ssl-require-authentication" property.voidsetSSLCiphers(String ciphers)Deprecated.Sets the value of the "ssl-ciphers" property.voidsetSSLEnabled(boolean enabled)Deprecated.Sets the value of the "ssl-enabled" property.voidsetSSLProperties(Properties sslProperties)Deprecated.Sets the provider-specific properties for SSL.voidsetSSLProtocols(String protocols)Deprecated.Sets the value of the "ssl-protocols" property.voidsetSystemId(String systemId)Deprecated.Sets the string identity for the systemvoidsetSystemName(String name)Deprecated.Sets the optional non-unique name for the systemvoidsetTcpPort(int port)Deprecated.Sets the primary communication port number for the Distributed System.voidvalidate()Deprecated.Validates that this distributed system configuration is correct and consistent.
-
-
-
Field Detail
-
ENTITY_CONFIG_XML_FILE_NAME
static final String ENTITY_CONFIG_XML_FILE_NAME
Deprecated.The name of an XML file that specifies the configuration for the managed entities administered by theDistributedSystem. The XML file must conform to a dtd.- See Also:
- Constant Field Values
-
DEFAULT_ENTITY_CONFIG_XML_FILE
static final String DEFAULT_ENTITY_CONFIG_XML_FILE
Deprecated.The default value of the "entity-config-xml-file" property ("distributed-system.xml").- See Also:
- Constant Field Values
-
SYSTEM_ID_NAME
static final String SYSTEM_ID_NAME
Deprecated.The name of the "system-id" property- See Also:
- Constant Field Values
-
DEFAULT_SYSTEM_ID
static final String DEFAULT_SYSTEM_ID
Deprecated.The default value of the "system-id" property ("")- See Also:
- Constant Field Values
-
NAME_NAME
static final String NAME_NAME
Deprecated.The name of the "name" property. SeegetSystemName().- See Also:
- Constant Field Values
-
DEFAULT_NAME
static final String DEFAULT_NAME
Deprecated.The default value of the "name" property (""). SeegetSystemName().- See Also:
- Constant Field Values
-
DEFAULT_MCAST_PORT
static final int DEFAULT_MCAST_PORT
Deprecated.The default value of the "mcastPort" property (10334)- See Also:
- Constant Field Values
-
MIN_MCAST_PORT
static final int MIN_MCAST_PORT
Deprecated.The minimum mcastPort (0)- See Also:
- Constant Field Values
-
MAX_MCAST_PORT
static final int MAX_MCAST_PORT
Deprecated.The maximum mcastPort (65535)- See Also:
- Constant Field Values
-
DEFAULT_MCAST_ADDRESS
static final String DEFAULT_MCAST_ADDRESS
Deprecated.The default value of the "mcastAddress" property (239.192.81.1).
-
MEMBERSHIP_PORT_RANGE_NAME
static final String MEMBERSHIP_PORT_RANGE_NAME
Deprecated.The name of the "membership-port-range" property- Since:
- GemFire 6.5
- See Also:
- Constant Field Values
-
DEFAULT_MEMBERSHIP_PORT_RANGE
static final int[] DEFAULT_MEMBERSHIP_PORT_RANGE
Deprecated.The default membership-port-range.Actual value is
[41000,61000].- Since:
- GemFire 6.5
-
TCP_PORT_NAME
static final String TCP_PORT_NAME
Deprecated.settings for tcp-port- Since:
- GemFire 6.5
- See Also:
- Constant Field Values
-
DEFAULT_TCP_PORT
static final int DEFAULT_TCP_PORT
Deprecated.The default value of the "tcpPort" property.Actual value is
0.- Since:
- GemFire 6.5
- See Also:
- Constant Field Values
-
DEFAULT_ACK_WAIT_THRESHOLD
static final int DEFAULT_ACK_WAIT_THRESHOLD
Deprecated.The default AckWaitThreshold.Actual value of this constant is
15seconds.- See Also:
- Constant Field Values
-
MIN_ACK_WAIT_THRESHOLD
static final int MIN_ACK_WAIT_THRESHOLD
Deprecated.The minimum AckWaitThreshold.Actual value of this constant is
1second.- See Also:
- Constant Field Values
-
MAX_ACK_WAIT_THRESHOLD
static final int MAX_ACK_WAIT_THRESHOLD
Deprecated.The maximum AckWaitThreshold.Actual value of this constant is
MAX_INTseconds.- See Also:
- Constant Field Values
-
DEFAULT_ACK_SEVERE_ALERT_THRESHOLD
static final int DEFAULT_ACK_SEVERE_ALERT_THRESHOLD
Deprecated.The default ackSevereAlertThreshold.Actual value of this constant is
0seconds, which turns off forced disconnects based on ack wait periods.- See Also:
- Constant Field Values
-
MIN_ACK_SEVERE_ALERT_THRESHOLD
static final int MIN_ACK_SEVERE_ALERT_THRESHOLD
Deprecated.The minimum ackSevereAlertThreshold.Actual value of this constant is
0second, which turns off forced disconnects based on ack wait periods.- See Also:
- Constant Field Values
-
MAX_ACK_SEVERE_ALERT_THRESHOLD
static final int MAX_ACK_SEVERE_ALERT_THRESHOLD
Deprecated.The maximum ackSevereAlertThreshold.Actual value of this constant is
MAX_INTseconds.- See Also:
- Constant Field Values
-
LOCATORS_NAME
static final String LOCATORS_NAME
Deprecated.The name of the "locators" property (comma-delimited host[port] list)- See Also:
- Constant Field Values
-
DEFAULT_LOCATORS
static final String DEFAULT_LOCATORS
Deprecated.The default value of the "locators" property ("")- See Also:
- Constant Field Values
-
BIND_ADDRESS_NAME
static final String BIND_ADDRESS_NAME
Deprecated.The name of the "bindAddress" property- See Also:
- Constant Field Values
-
DEFAULT_BIND_ADDRESS
static final String DEFAULT_BIND_ADDRESS
Deprecated.The default value of the "bindAddress" property- See Also:
- Constant Field Values
-
REMOTE_COMMAND_NAME
static final String REMOTE_COMMAND_NAME
Deprecated.The name of the remote-command property- See Also:
- Constant Field Values
-
DEFAULT_REMOTE_COMMAND
static final String DEFAULT_REMOTE_COMMAND
Deprecated.The default value of the remote-command property- See Also:
- Constant Field Values
-
DEFAULT_DISABLE_JMX
static final boolean DEFAULT_DISABLE_JMX
Deprecated.The default disable-jmx value (false)- See Also:
- Constant Field Values
-
DEFAULT_ENABLE_NETWORK_PARTITION_DETECTION
static final boolean DEFAULT_ENABLE_NETWORK_PARTITION_DETECTION
Deprecated.The default enable-network-partition-detection setting (false)- See Also:
- Constant Field Values
-
DEFAULT_DISABLE_AUTO_RECONNECT
static final boolean DEFAULT_DISABLE_AUTO_RECONNECT
Deprecated.The default disable-auto-reconnect setting (false)- See Also:
- Constant Field Values
-
DEFAULT_MEMBER_TIMEOUT
static final int DEFAULT_MEMBER_TIMEOUT
Deprecated.The default failure-detection timeout period for member heart-beat responses- See Also:
- Constant Field Values
-
LOG_FILE_NAME
static final String LOG_FILE_NAME
Deprecated.The name of the "logFile" property- See Also:
- Constant Field Values
-
DEFAULT_LOG_FILE
static final String DEFAULT_LOG_FILE
Deprecated.The default log-file value ("" which directs logging to standard output)- See Also:
- Constant Field Values
-
LOG_LEVEL_NAME
static final String LOG_LEVEL_NAME
Deprecated.The name of the "logLevel" property- See Also:
- Constant Field Values
-
DEFAULT_LOG_LEVEL
static final String DEFAULT_LOG_LEVEL
Deprecated.The default log level ("config")- See Also:
- Constant Field Values
-
LOG_DISK_SPACE_LIMIT_NAME
static final String LOG_DISK_SPACE_LIMIT_NAME
Deprecated.The name of the "LogDiskSpaceLimit" property- See Also:
- Constant Field Values
-
DEFAULT_LOG_DISK_SPACE_LIMIT
static final int DEFAULT_LOG_DISK_SPACE_LIMIT
Deprecated.The default log disk space limit in megabytes (0)- See Also:
- Constant Field Values
-
MIN_LOG_DISK_SPACE_LIMIT
static final int MIN_LOG_DISK_SPACE_LIMIT
Deprecated.The minimum log disk space limit in megabytes (0)- See Also:
- Constant Field Values
-
MAX_LOG_DISK_SPACE_LIMIT
static final int MAX_LOG_DISK_SPACE_LIMIT
Deprecated.The minimum log disk space limit in megabytes (1000000)- See Also:
- Constant Field Values
-
LOG_FILE_SIZE_LIMIT_NAME
static final String LOG_FILE_SIZE_LIMIT_NAME
Deprecated.The name of the "LogFileSizeLimit" property- See Also:
- Constant Field Values
-
DEFAULT_LOG_FILE_SIZE_LIMIT
static final int DEFAULT_LOG_FILE_SIZE_LIMIT
Deprecated.The default log file size limit in megabytes (0)- See Also:
- Constant Field Values
-
MIN_LOG_FILE_SIZE_LIMIT
static final int MIN_LOG_FILE_SIZE_LIMIT
Deprecated.The minimum log file size limit in megabytes (0)- See Also:
- Constant Field Values
-
MAX_LOG_FILE_SIZE_LIMIT
static final int MAX_LOG_FILE_SIZE_LIMIT
Deprecated.The minimum log file size limit in megabytes (1000000)- See Also:
- Constant Field Values
-
REFRESH_INTERVAL_NAME
static final String REFRESH_INTERVAL_NAME
Deprecated.The name of the "refreshInterval" property which will apply to SystemMember, SystemMemberCache and StatisticResource refresh. This interval (in seconds) is used for auto-polling and updating AdminDistributedSystem constituents including SystemMember, CacheServer, SystemMemberCache and StatisticResource. This interval is read-only and retains the value set when the config is created. Note that the resource MBeans actually refresh and hit the DS only if there is an RMI client connected- See Also:
- Constant Field Values
-
DEFAULT_REFRESH_INTERVAL
static final int DEFAULT_REFRESH_INTERVAL
Deprecated.The default "refreshInterval" in seconds which will apply to REFRESH_INTERVAL_NAME property. The default value is 15 secs- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityConfigXMLFile
String getEntityConfigXMLFile()
Deprecated.Returns the name of the XML file that specifies the configuration of the managed entities administered by theDistributedSystem. The XML file must conform to a dtd.- Returns:
- the name of the XML file that specifies the configuration of managed entities
administered by the
DistributedSystem - Since:
- GemFire 4.0
-
setEntityConfigXMLFile
void setEntityConfigXMLFile(String xmlFile)
Deprecated.Sets the name of the XML file that specifies the configuration of managed entities administered by theDistributedSystem.- Parameters:
xmlFile- the name of the XML file that specifies the configuration of managed entities administered by theDistributedSystem
-
getSystemId
String getSystemId()
Deprecated.Returns the string identity for the system- Returns:
- the string identity for the system
-
setSystemId
void setSystemId(String systemId)
Deprecated.Sets the string identity for the system- Parameters:
systemId- the string identity for the system
-
getSystemName
String getSystemName()
Deprecated.Returns the optional non-unique name for the system- Returns:
- the optional non-unique name for the system
-
setSystemName
void setSystemName(String name)
Deprecated.Sets the optional non-unique name for the system- Parameters:
name- the optional non-unique name for the system
-
getMcastAddress
String getMcastAddress()
Deprecated.Returns the multicast address for the system- Returns:
- the multicast address for the system
-
setMcastAddress
void setMcastAddress(String mcastAddress)
Deprecated.Sets the multicast address for the system- Parameters:
mcastAddress- the multicast address for the system
-
getMcastPort
int getMcastPort()
Deprecated.Returns the multicast port for the system- Returns:
- the multicast port for the system
-
setMcastPort
void setMcastPort(int mcastPort)
Deprecated.Sets the multicast port for the system- Parameters:
mcastPort- the multicast port for the system
-
getAckWaitThreshold
int getAckWaitThreshold()
Deprecated.Returns the ack-wait-threshold for the system- Returns:
- the ack-wait-threshold for the system
-
setAckWaitThreshold
void setAckWaitThreshold(int seconds)
Deprecated.Sets the ack-wait-threshold for the system- Parameters:
seconds- the ack-wait-threshold for the system
-
getAckSevereAlertThreshold
int getAckSevereAlertThreshold()
Deprecated.Returns the ack-severe-alert-threshold for the system- Returns:
- the ack-severe-alert-threshold for the system
-
setAckSevereAlertThreshold
void setAckSevereAlertThreshold(int seconds)
Deprecated.Sets the ack-severe-alert-threshold for the system- Parameters:
seconds- the ack-severe-alert-threshold for the system
-
getLocators
String getLocators()
Deprecated.Returns a comma-delimited list of locators for the system- Returns:
- the comma-delimited list of locators for the system
-
setLocators
void setLocators(String locators)
Deprecated.Sets the comma-delimited list of locators for the system- Parameters:
locators- the comma-delimited list of locators for the system
-
getMembershipPortRange
String getMembershipPortRange()
Deprecated.Returns the membership-port-range property of the Distributed System. This range is given as two numbers separated by a minus sign.- Returns:
- the membership-port-range property of the Distributed System
- Since:
- GemFire 6.5
-
setMembershipPortRange
void setMembershipPortRange(String membershipPortRange)
Deprecated.Sets the membership-port-range property of the Distributed System. This range is given as two numbers separated by a minus sign.- Parameters:
membershipPortRange- the membership-port-range property of the Distributed System- Since:
- GemFire 6.5
-
setTcpPort
void setTcpPort(int port)
Deprecated.Sets the primary communication port number for the Distributed System.- Parameters:
port- the primary communication port number for the Distributed System- Since:
- GemFire 6.5
-
getTcpPort
int getTcpPort()
Deprecated.Returns the primary communication port number for the Distributed System.- Returns:
- the primary communication port number for the Distributed System
- Since:
- GemFire 6.5
-
setDisableJmx
void setDisableJmx(boolean flag)
Deprecated.Sets the disable-jmx property for the system. When JMX is disabled, Geode will not create MBeans.- Parameters:
flag- the disable-jmx property for the process
-
getDisableJmx
boolean getDisableJmx()
Deprecated.Returns the disable-jmx property for the process. When JMX is disabled, Geode will not create MBeans.- Returns:
- the disable-jmx property for the process
-
setEnableNetworkPartitionDetection
void setEnableNetworkPartitionDetection(boolean newValue)
Deprecated.Turns on network partition detection- Parameters:
newValue- whether network partition detection is enabled
-
getEnableNetworkPartitionDetection
boolean getEnableNetworkPartitionDetection()
Deprecated.Returns true if network partition detection is enabled.- Returns:
- whether network partition detection is enabled
-
setDisableAutoReconnect
void setDisableAutoReconnect(boolean newValue)
Deprecated.Disables auto reconnect after being forced out of the distributed system- Parameters:
newValue- whether auto reconnect is disabled
-
getDisableAutoReconnect
boolean getDisableAutoReconnect()
Deprecated.Returns true if auto reconnect is disabled- Returns:
- whether auto reconnect is disabled
-
getMemberTimeout
int getMemberTimeout()
Deprecated.Returns the member-timeout millisecond value used in failure-detection protocols- Returns:
- the millisecond value of the member-timeout used in failure-detection protocols
-
setMemberTimeout
void setMemberTimeout(int value)
Deprecated.Set the millisecond value of the member-timeout used in failure-detection protocols. This timeout determines how long a member has to respond to a heartbeat request. The member is given three chances before being kicked out of the distributed system with a SystemConnectException.- Parameters:
value- the millisecond value of the member-timeout used in failure-detection protocols
-
getBindAddress
String getBindAddress()
Deprecated.Returns the IP address to which the distributed system's server sockets are bound.- Returns:
- the IP address to which the distributed system's server sockets are bound
- Since:
- GemFire 4.0
-
setBindAddress
void setBindAddress(String bindAddress)
Deprecated.Sets the IP address to which the distributed system's server sockets are bound.- Parameters:
bindAddress- the IP address to which the distributed system's server sockets are bound- Since:
- GemFire 4.0
-
getServerBindAddress
String getServerBindAddress()
Deprecated.Returns the IP address to which client/server server sockets are bound- Returns:
- the IP address to which a server cache will bind when listening for client cache connections
-
setServerBindAddress
void setServerBindAddress(String bindAddress)
Deprecated.Sets the IP address to which a server cache will bind when listening for client cache connections.- Parameters:
bindAddress- the IP address to which a server cache will bind when listening for client cache connections
-
getRemoteCommand
String getRemoteCommand()
Deprecated.Returns the remote command setting to use for remote administration- Returns:
- the remote command setting to use for remote administration
-
setRemoteCommand
void setRemoteCommand(String command)
Deprecated.Sets the remote command setting to use for remote administration. This attribute may be modified after thisDistributedSystemConfighas been used to create anAdminDistributedSystem.- Parameters:
command- the remote command setting to use for remote administration
-
isSSLEnabled
boolean isSSLEnabled()
Deprecated.Returns the value of the "ssl-enabled" property.- Returns:
- the value of the "ssl-enabled" property
-
setSSLEnabled
void setSSLEnabled(boolean enabled)
Deprecated.Sets the value of the "ssl-enabled" property.- Parameters:
enabled- the value of the "ssl-enabled" property
-
getSSLProtocols
String getSSLProtocols()
Deprecated.Returns the value of the "ssl-protocols" property.- Returns:
- the value of the "ssl-protocols" property
-
setSSLProtocols
void setSSLProtocols(String protocols)
Deprecated.Sets the value of the "ssl-protocols" property.- Parameters:
protocols- the value of the "ssl-protocols" property
-
getSSLCiphers
String getSSLCiphers()
Deprecated.Returns the value of the "ssl-ciphers" property.- Returns:
- the value of the "ssl-ciphers" property
-
setSSLCiphers
void setSSLCiphers(String ciphers)
Deprecated.Sets the value of the "ssl-ciphers" property.- Parameters:
ciphers- the value of the "ssl-ciphers" property
-
isSSLAuthenticationRequired
boolean isSSLAuthenticationRequired()
Deprecated.Returns the value of the "ssl-require-authentication" property.- Returns:
- the value of the "ssl-require-authentication" property
-
setSSLAuthenticationRequired
void setSSLAuthenticationRequired(boolean authRequired)
Deprecated.Sets the value of the "ssl-require-authentication" property.- Parameters:
authRequired- the value of the "ssl-require-authentication" property
-
getSSLProperties
Properties getSSLProperties()
Deprecated.Returns the provider-specific properties for SSL.- Returns:
- the provider-specific properties for SSL
-
setSSLProperties
void setSSLProperties(Properties sslProperties)
Deprecated.Sets the provider-specific properties for SSL.- Parameters:
sslProperties- the provider-specific properties for SSL
-
addSSLProperty
void addSSLProperty(String key, String value)
Deprecated.Adds an SSL property- Parameters:
key- the name of the property to addvalue- the value of the property to add
-
removeSSLProperty
void removeSSLProperty(String key)
Deprecated.Removes an SSL property- Parameters:
key- the name of the property to remove
-
getLogFile
String getLogFile()
Deprecated.Returns the name of the log file to which informational messages are written.- Returns:
- the name of the log file to which informational messages are written
- See Also:
LogWriter
-
setLogFile
void setLogFile(String logFile)
Deprecated.Sets the name of the log file to which informational messages are written.- Parameters:
logFile- the name of the log file to which informational messages are written- See Also:
LogWriter
-
getLogLevel
String getLogLevel()
Deprecated.Returns the level at which informational messages are logged.- Returns:
- the level at which information messages are logged
-
setLogLevel
void setLogLevel(String logLevel)
Deprecated.Sets the level at which information messages are logged.- Parameters:
logLevel- the level at which information messages are logged
-
getLogDiskSpaceLimit
int getLogDiskSpaceLimit()
Deprecated.Returns the log disk space limit in megabytes- Returns:
- the log disk space limit in megabytes
-
setLogDiskSpaceLimit
void setLogDiskSpaceLimit(int limit)
Deprecated.Sets the log disk space limit in megabytes- Parameters:
limit- the log disk space limit in megabytes
-
getLogFileSizeLimit
int getLogFileSizeLimit()
Deprecated.Returns the log file size limit in megabytes- Returns:
- the log file size limit in megabytes
-
setLogFileSizeLimit
void setLogFileSizeLimit(int limit)
Deprecated.Sets the log file size limit in megabytes- Parameters:
limit- the log file size limit in megabytes
-
getRefreshInterval
int getRefreshInterval()
Deprecated.Returns the refreshInterval in seconds used for auto-polling and updating AdminDistributedSystem constituents including SystemMember, CacheServer, SystemMemberCache and StatisticResource- Returns:
- the refreshInterval in seconds
- Since:
- GemFire 6.0
-
setRefreshInterval
void setRefreshInterval(int timeInSecs)
Deprecated.Sets the refreshInterval in seconds- Parameters:
timeInSecs- the refreshInterval in seconds- Since:
- GemFire 6.0
-
getCacheServerConfigs
@Deprecated CacheServerConfig[] getCacheServerConfigs()
Deprecated.as of 5.7 usegetCacheVmConfigs()instead.Returns an array of configurations for statically knownCacheServers.- Returns:
- an array of configurations for statically known
CacheServers
-
createCacheServerConfig
@Deprecated CacheServerConfig createCacheServerConfig()
Deprecated.as of 5.7 usecreateCacheVmConfig()instead.Creates the configuration for a CacheServer- Returns:
- the newly created configuration
-
removeCacheServerConfig
@Deprecated void removeCacheServerConfig(CacheServerConfig managerConfig)
Deprecated.as of 5.7 useremoveCacheVmConfig(org.apache.geode.admin.CacheVmConfig)instead.Removes the configuration for a CacheServer- Parameters:
managerConfig- the configuration to remove
-
getCacheVmConfigs
CacheVmConfig[] getCacheVmConfigs()
Deprecated.Returns an array of configurations for statically knownCacheVms.- Returns:
- an array of configurations for statically known
CacheVms - Since:
- GemFire 5.7
-
createCacheVmConfig
CacheVmConfig createCacheVmConfig()
Deprecated.Creates the configuration for aCacheVm.- Returns:
- the newly created configuration
- Since:
- GemFire 5.7
-
removeCacheVmConfig
void removeCacheVmConfig(CacheVmConfig existing)
Deprecated.Removes the configuration for aCacheVm- Parameters:
existing- the configuration to remove- Since:
- GemFire 5.7
-
getDistributionLocatorConfigs
DistributionLocatorConfig[] getDistributionLocatorConfigs()
Deprecated.Returns configuration information aboutDistributionLocators that are managed by anAdminDistributedSystem.- Returns:
- configuration information about
DistributionLocators that are managed by anAdminDistributedSystem
-
createDistributionLocatorConfig
DistributionLocatorConfig createDistributionLocatorConfig()
Deprecated.Creates a newDistributionLocatorConfigfor a distribution locator that is managed in this distributed system. The default locator config is set to not use multicast- Returns:
- the newly created
DistributionLocatorConfig
-
removeDistributionLocatorConfig
void removeDistributionLocatorConfig(DistributionLocatorConfig config)
Deprecated.Removes aDistributionLocatorConfigfrom the distributed system.- Parameters:
config- theDistributionLocatorConfigto remove
-
addListener
void addListener(DistributedSystemConfig.ConfigListener listener)
Deprecated.Registers listener for notification of changes in this config.- Parameters:
listener- the listener to register
-
removeListener
void removeListener(DistributedSystemConfig.ConfigListener listener)
Deprecated.Removes previously registered listener of this config.- Parameters:
listener- the listener to remove
-
validate
void validate()
Deprecated.Validates that this distributed system configuration is correct and consistent.- Throws:
IllegalStateException- If this config is not validAdminXmlException- If the entity config XML file is not valid
-
clone
Object clone() throws CloneNotSupportedException
Deprecated.Returns a copy of thisDistributedSystemConfigobject whose configuration can be modified. Note that thisConfigListeners that are registered on this config object are not cloned.- Returns:
- a copy of this
DistributedSystemConfigobject whose configuration can be modified - Throws:
CloneNotSupportedException- if the object's class does not support the Cloneable interface- Since:
- GemFire 4.0
-
-