Interface DistributedSystemConfig
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
AgentConfig
Detailed descriptions of many of these configuration attributes can be found in the
DistributedSystem class. Note that the
default values of these configuration attributes can be specified using Java system properties.
A DistributedSystemConfig can be modified using a number of mutator methods until
the AdminDistributedSystem that it configures
connects to the distributed system. After that,
attempts to modify most attributes in the DistributedSystemConfig will result in an
IllegalStateException being thrown. If you wish to use the same
DistributedSystemConfig to configure multiple AdminDistributedSystems,
a copy of the DistributedSystemConfig object can be made by invoking the
clone() method.
- Since:
- GemFire 3.5
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.A listener whose callback methods are invoked when this config changes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The name of the "bindAddress" propertystatic final intDeprecated.The default ackSevereAlertThreshold.static final intDeprecated.The default AckWaitThreshold.static final StringDeprecated.The default value of the "bindAddress" propertystatic final booleanDeprecated.The default disable-auto-reconnect setting (false)static final booleanDeprecated.The default disable-jmx value (false)static final booleanDeprecated.The default disable-tcp value (false)static final booleanDeprecated.The default enable-network-partition-detection setting (false)static final StringDeprecated.The default value of the "entity-config-xml-file" property ("distributed-system.xml").static final StringDeprecated.The default value of the "locators" property ("")static final intDeprecated.The default log disk space limit in megabytes (0)static final StringDeprecated.The default log-file value ("" which directs logging to standard output)static final intDeprecated.The default log file size limit in megabytes (0)static final StringDeprecated.The default log level ("config")static final StringDeprecated.The default value of the "mcastAddress" property (239.192.81.1).static final intDeprecated.The default value of the "mcastPort" property (10334)static final intDeprecated.The default failure-detection timeout period for member heart-beat responsesstatic final int[]Deprecated.The default membership-port-range.static final StringDeprecated.The default value of the "name" property ("").static final intDeprecated.The default "refreshInterval" in seconds which will apply to REFRESH_INTERVAL_NAME property.static final StringDeprecated.The default value of the remote-command propertystatic final StringDeprecated.The default value of the "system-id" property ("")static final intDeprecated.The default value of the "tcpPort" property.static final StringDeprecated.The name of an XML file that specifies the configuration for the managed entities administered by theDistributedSystem.static final StringDeprecated.The name of the "locators" property (comma-delimited host[port] list)static final StringDeprecated.The name of the "LogDiskSpaceLimit" propertystatic final StringDeprecated.The name of the "logFile" propertystatic final StringDeprecated.The name of the "LogFileSizeLimit" propertystatic final StringDeprecated.The name of the "logLevel" propertystatic final intDeprecated.The maximum ackSevereAlertThreshold.static final intDeprecated.The maximum AckWaitThreshold.static final intDeprecated.The minimum log disk space limit in megabytes (1000000)static final intDeprecated.The minimum log file size limit in megabytes (1000000)static final intDeprecated.The maximum mcastPort (65535)static final StringDeprecated.The name of the "mcastAddress" propertystatic final StringDeprecated.The name of the "mcastPort" propertystatic final StringDeprecated.The name of the "membership-port-range" propertystatic final intDeprecated.The minimum ackSevereAlertThreshold.static final intDeprecated.The minimum AckWaitThreshold.static final intDeprecated.The minimum log disk space limit in megabytes (0)static final intDeprecated.The minimum log file size limit in megabytes (0)static final intDeprecated.The minimum mcastPort (0)static final StringDeprecated.The name of the "name" property.static final StringDeprecated.The name of the "refreshInterval" property which will apply to SystemMember, SystemMemberCache and StatisticResource refresh.static final StringDeprecated.The name of the remote-command propertystatic final StringDeprecated.The name of the "system-id" propertystatic final StringDeprecated.settings for tcp-port -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Registers listener for notification of changes in this config.voidaddSSLProperty(String key, String value) Deprecated.Adds an SSL propertyclone()Deprecated.Returns a copy of thisDistributedSystemConfigobject whose configuration can be modified.Deprecated.as of 5.7 usecreateCacheVmConfig()instead.Deprecated.Creates the configuration for aCacheVm.Deprecated.Creates a newDistributionLocatorConfigfor a distribution locator that is managed in this distributed system.intDeprecated.Returns the ack-severe-alert-threshold for the systemintDeprecated.Returns the ack-wait-threshold for the systemDeprecated.Returns the IP address to which the distributed system's server sockets are bound.Deprecated.as of 5.7 usegetCacheVmConfigs()instead.Deprecated.Returns an array of configurations for statically knownCacheVms.booleanDeprecated.Returns true if auto reconnect is disabledbooleanDeprecated.Returns the disable-jmx property for the process.booleanDeprecated.Returns the disable-tcp property for the system.Deprecated.Returns configuration information aboutDistributionLocators that are managed by anAdminDistributedSystem.booleanDeprecated.Returns true if network partition detection is enabled.Deprecated.Returns the name of the XML file that specifies the configuration of the managed entities administered by theDistributedSystem.Deprecated.Returns a comma-delimited list of locators for the systemintDeprecated.Returns the log disk space limit in megabytesDeprecated.Returns the name of the log file to which informational messages are written.intDeprecated.Returns the log file size limit in megabytesDeprecated.Returns the level at which informational messages are logged.Deprecated.Returns the multicast address for the systemintDeprecated.Returns the multicast port for the systemDeprecated.Returns the membership-port-range property of the Distributed System.intDeprecated.Returns the member-timeout millisecond value used in failure-detection protocolsintDeprecated.Returns the refreshInterval in seconds used for auto-polling and updating AdminDistributedSystem constituents including SystemMember, CacheServer, SystemMemberCache and StatisticResourceDeprecated.Returns the remote command setting to use for remote administrationDeprecated.Returns the IP address to which client/server server sockets are boundDeprecated.Returns the value of the "ssl-ciphers" property.Deprecated.Returns the provider-specific properties for SSL.Deprecated.Returns the value of the "ssl-protocols" property.Deprecated.Returns the string identity for the systemDeprecated.Returns the optional non-unique name for the systemintDeprecated.Returns the primary communication port number for the Distributed System.booleanDeprecated.Returns the value of the "ssl-require-authentication" property.booleanDeprecated.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 aCacheVmvoidDeprecated.Removes aDistributionLocatorConfigfrom the distributed system.voidDeprecated.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.voidsetDisableTcp(boolean flag) Deprecated.Sets the disable-tcp 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 Details
-
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:
-
DEFAULT_ENTITY_CONFIG_XML_FILE
Deprecated.The default value of the "entity-config-xml-file" property ("distributed-system.xml").- See Also:
-
SYSTEM_ID_NAME
Deprecated.The name of the "system-id" property- See Also:
-
DEFAULT_SYSTEM_ID
Deprecated.The default value of the "system-id" property ("")- See Also:
-
NAME_NAME
Deprecated.The name of the "name" property. SeegetSystemName().- See Also:
-
DEFAULT_NAME
Deprecated.The default value of the "name" property (""). SeegetSystemName().- See Also:
-
MCAST_PORT_NAME
Deprecated.The name of the "mcastPort" property- See Also:
-
DEFAULT_MCAST_PORT
static final int DEFAULT_MCAST_PORTDeprecated.The default value of the "mcastPort" property (10334)- See Also:
-
MIN_MCAST_PORT
static final int MIN_MCAST_PORTDeprecated.The minimum mcastPort (0)- See Also:
-
MAX_MCAST_PORT
static final int MAX_MCAST_PORTDeprecated.The maximum mcastPort (65535)- See Also:
-
MCAST_ADDRESS_NAME
Deprecated.The name of the "mcastAddress" property- See Also:
-
DEFAULT_MCAST_ADDRESS
Deprecated.The default value of the "mcastAddress" property (239.192.81.1). -
MEMBERSHIP_PORT_RANGE_NAME
Deprecated.The name of the "membership-port-range" property- Since:
- GemFire 6.5
- See Also:
-
DEFAULT_MEMBERSHIP_PORT_RANGE
static final int[] DEFAULT_MEMBERSHIP_PORT_RANGEDeprecated.The default membership-port-range.Actual value is
[41000,61000].- Since:
- GemFire 6.5
-
TCP_PORT_NAME
Deprecated.settings for tcp-port- Since:
- GemFire 6.5
- See Also:
-
DEFAULT_TCP_PORT
static final int DEFAULT_TCP_PORTDeprecated.The default value of the "tcpPort" property.Actual value is
0.- Since:
- GemFire 6.5
- See Also:
-
DEFAULT_ACK_WAIT_THRESHOLD
static final int DEFAULT_ACK_WAIT_THRESHOLDDeprecated.The default AckWaitThreshold.Actual value of this constant is
15seconds.- See Also:
-
MIN_ACK_WAIT_THRESHOLD
static final int MIN_ACK_WAIT_THRESHOLDDeprecated.The minimum AckWaitThreshold.Actual value of this constant is
1second.- See Also:
-
MAX_ACK_WAIT_THRESHOLD
static final int MAX_ACK_WAIT_THRESHOLDDeprecated.The maximum AckWaitThreshold.Actual value of this constant is
MAX_INTseconds.- See Also:
-
DEFAULT_ACK_SEVERE_ALERT_THRESHOLD
static final int DEFAULT_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The default ackSevereAlertThreshold.Actual value of this constant is
0seconds, which turns off forced disconnects based on ack wait periods.- See Also:
-
MIN_ACK_SEVERE_ALERT_THRESHOLD
static final int MIN_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The minimum ackSevereAlertThreshold.Actual value of this constant is
0second, which turns off forced disconnects based on ack wait periods.- See Also:
-
MAX_ACK_SEVERE_ALERT_THRESHOLD
static final int MAX_ACK_SEVERE_ALERT_THRESHOLDDeprecated.The maximum ackSevereAlertThreshold.Actual value of this constant is
MAX_INTseconds.- See Also:
-
LOCATORS_NAME
Deprecated.The name of the "locators" property (comma-delimited host[port] list)- See Also:
-
DEFAULT_LOCATORS
Deprecated.The default value of the "locators" property ("")- See Also:
-
BIND_ADDRESS_NAME
Deprecated.The name of the "bindAddress" property- See Also:
-
DEFAULT_BIND_ADDRESS
Deprecated.The default value of the "bindAddress" property- See Also:
-
REMOTE_COMMAND_NAME
Deprecated.The name of the remote-command property- See Also:
-
DEFAULT_REMOTE_COMMAND
Deprecated.The default value of the remote-command property- See Also:
-
DEFAULT_DISABLE_TCP
static final boolean DEFAULT_DISABLE_TCPDeprecated.The default disable-tcp value (false)- See Also:
-
DEFAULT_DISABLE_JMX
static final boolean DEFAULT_DISABLE_JMXDeprecated.The default disable-jmx value (false)- See Also:
-
DEFAULT_ENABLE_NETWORK_PARTITION_DETECTION
static final boolean DEFAULT_ENABLE_NETWORK_PARTITION_DETECTIONDeprecated.The default enable-network-partition-detection setting (false)- See Also:
-
DEFAULT_DISABLE_AUTO_RECONNECT
static final boolean DEFAULT_DISABLE_AUTO_RECONNECTDeprecated.The default disable-auto-reconnect setting (false)- See Also:
-
DEFAULT_MEMBER_TIMEOUT
static final int DEFAULT_MEMBER_TIMEOUTDeprecated.The default failure-detection timeout period for member heart-beat responses- See Also:
-
LOG_FILE_NAME
Deprecated.The name of the "logFile" property- See Also:
-
DEFAULT_LOG_FILE
Deprecated.The default log-file value ("" which directs logging to standard output)- See Also:
-
LOG_LEVEL_NAME
Deprecated.The name of the "logLevel" property- See Also:
-
DEFAULT_LOG_LEVEL
Deprecated.The default log level ("config")- See Also:
-
LOG_DISK_SPACE_LIMIT_NAME
Deprecated.The name of the "LogDiskSpaceLimit" property- See Also:
-
DEFAULT_LOG_DISK_SPACE_LIMIT
static final int DEFAULT_LOG_DISK_SPACE_LIMITDeprecated.The default log disk space limit in megabytes (0)- See Also:
-
MIN_LOG_DISK_SPACE_LIMIT
static final int MIN_LOG_DISK_SPACE_LIMITDeprecated.The minimum log disk space limit in megabytes (0)- See Also:
-
MAX_LOG_DISK_SPACE_LIMIT
static final int MAX_LOG_DISK_SPACE_LIMITDeprecated.The minimum log disk space limit in megabytes (1000000)- See Also:
-
LOG_FILE_SIZE_LIMIT_NAME
Deprecated.The name of the "LogFileSizeLimit" property- See Also:
-
DEFAULT_LOG_FILE_SIZE_LIMIT
static final int DEFAULT_LOG_FILE_SIZE_LIMITDeprecated.The default log file size limit in megabytes (0)- See Also:
-
MIN_LOG_FILE_SIZE_LIMIT
static final int MIN_LOG_FILE_SIZE_LIMITDeprecated.The minimum log file size limit in megabytes (0)- See Also:
-
MAX_LOG_FILE_SIZE_LIMIT
static final int MAX_LOG_FILE_SIZE_LIMITDeprecated.The minimum log file size limit in megabytes (1000000)- See Also:
-
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:
-
DEFAULT_REFRESH_INTERVAL
static final int DEFAULT_REFRESH_INTERVALDeprecated.The default "refreshInterval" in seconds which will apply to REFRESH_INTERVAL_NAME property. The default value is 15 secs- See Also:
-
-
Method Details
-
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
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
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
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
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
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
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
-
setDisableTcp
void setDisableTcp(boolean flag) Deprecated.Sets the disable-tcp property for the system. When tcp is disabled, the cache uses udp for unicast messaging. This must be consistent across all members of the distributed system. The default is to enable tcp.- Parameters:
flag- the disable-tcp property for the system
-
getDisableTcp
boolean getDisableTcp()Deprecated.Returns the disable-tcp property for the system. When tcp is disabled, the cache uses udp for unicast messaging. This must be consistent across all members of the distributed system. The default is to enable tcp.- Returns:
- the disable-tcp property for the system
-
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
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
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
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
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
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
Deprecated.Sets the provider-specific properties for SSL.- Parameters:
sslProperties- the provider-specific properties for SSL
-
addSSLProperty
Deprecated.Adds an SSL property- Parameters:
key- the name of the property to addvalue- the value of the property to add
-
removeSSLProperty
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:
-
setLogFile
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:
-
getLogLevel
String getLogLevel()Deprecated.Returns the level at which informational messages are logged.- Returns:
- the level at which information messages are logged
-
setLogLevel
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.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.as of 5.7 usecreateCacheVmConfig()instead.Creates the configuration for a CacheServer- Returns:
- the newly created configuration
-
removeCacheServerConfig
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
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
Deprecated.Removes aDistributionLocatorConfigfrom the distributed system.- Parameters:
config- theDistributionLocatorConfigto remove
-
addListener
Deprecated.Registers listener for notification of changes in this config.- Parameters:
listener- the listener to register
-
removeListener
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
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
-
managementpackage instead