Interface AgentConfig
- All Superinterfaces:
Cloneable,DistributedSystemConfig
"agent.properties" can be
used to override the default values of AgentConfig attributes. The
"gfAgentPropertyFile" system property can be
used to specify an agent properties file other than "agent.properties". System properties
prefixed with "gemfire.agent." can be used to override the
values in the properties file. For instance "-Dgemfire.agent.http-port=8081" can be used to
override the default port for the HTTP adapter. Configuration related to the distributed system
that the JMX agent administers is inherited from and described in AgentConfig's
superinterface, DistributedSystemConfig.
An AgentConfig can be modified using a number of mutator methods until it is used to
create an Agent. After that, attempts to modify most attributes in the
AgentConfig will result in an IllegalStateException being thrown. If you
wish to use the same AgentConfig to configure multiple Agents, a copy
of the AgentConfig object can be made by invoking its clone() method.
JMX Administation Agent Configuration Properties
- auto-connect
- Description: whether or not a JMX agent will automatically connect to the distributed system it is configured to administer.
- Default: false
These parameters configure sockets that are created by the GemFire JMX Agent regardless of which adapters are enabled. These setting apply to all adapters. For example, if clients connect to the RMI adapter using SSL, then clients must also connect to the HTTP adapter using SSL (HTTPS). Note that these configuration attributes do not effect how the agent connects to the distributed system it administers, only how JMX clients connect to the agent.
- agent-ssl-enabled
- Description: whether or not connections to the JMX agent require SSL
- Default: false
- agent-ssl-protocols
- Description: the SSL protocols to be used when connecting to the JMX agent
- Default: any
- agent-ssl-ciphers
- Description: the SSL ciphers to be used when connecting to the JMX agent
- Default: any
- agent-ssl-require-authentication
- Description: whether or not SSL connections to the RMI adapter require authentication
- Default: true
- http-ssl-require-authentication
- Description: whether or not SSL connections to the HTTP adapter require authentication
- Default: false
- http-enabled
- Description: whether or not the HTTP adapter is enabled in the JMX agent.
- Default: true
- http-port
- Description: the port on which the HTTP adapter should listen for client connections.
- Default: 8080
- http-bind-address
- Description: the machine name or IP address to which the HTTP listening socket should
be bound. If this value is "localhost", then the socket will be bound to the loopback address
(127.0.0.1) and the adapter will only be accessible via the URL
http://localhost:8080. - Default: "" (all network addresses)
- http-authentication-enabled
- Description: Whether or not connections to the HTTP adapter should be authenticated with a user name and password.
- Default: false
- http-authentication-user
- Description: the user name for authenticating secure communication.
- Default: admin
- http-authentication-password
- Description: the password for authenticating secure communication.
- Default: password
- rmi-enabled
- Description: whether or not the RMI JMX adapter is enabled
- Default: true
- rmi-registry-enabled
- Description: whether or not the JMX agent should start an RMI registry. Alternatively, a registry outside of the JMX agent VM can be used.
- Default: true
- rmi-port
- Description: the port of the RMI registry in which the JMX Agent should bind remote objects.
- Default: 1099
- rmi-server-port
- Description: the port to be used by the RMI Server started by JMX Agent.
- Default: 0
- rmi-bind-address
- Description: the bind address on which the RMI registry binds its sockets.
- Default: "" (all network addresses)
- snmp-enabled
- Description: whether or not the SNMP JMX adapter is enabled
- Default: false
- snmp-bind-address
- Description: the host name to which sockets used by the SNMP adapter should be bound.
- Default: the name of the local machine (not
localhost)
- snmp-directory
- Description: the deployment directory for AdventNet SNMP Adaptor
- Default: ""
- email-notification-enabled
- Description: Whether or not email notifications are enabled for statistics alerts.
- Default: false
- email-notification-from
- Description: Email address to be used to send email notifications.
- Default: ""
- email-notification-host
- Description: The host name of the mail server to be used for email communication.
- Default: ""
- email-notification-to
- Description: Email address where the email notifications should be sent.
- Default: ""
- state-save-file
- Description: The name of the file to be used for saving agent state. The file is stored in the same directory in which the agent.properties file is located
- Default: ""
- Since:
- GemFire 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.geode.admin.DistributedSystemConfig
DistributedSystemConfig.ConfigListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The name of the "agent-ssl-ciphers" propertystatic final StringDeprecated.The name of the "agent-ssl-enabled" propertystatic final StringDeprecated.The name of the "agent-ssl-protocols" propertystatic final StringDeprecated.The name of the "agent-ssl-require-authentication" propertystatic final StringDeprecated.The name of the "auto-connect" propertystatic final StringDeprecated.The default value of the "agent-ssl-ciphers" propertystatic final booleanDeprecated.The default value of the "agent-ssl-enabled" propertystatic final StringDeprecated.The default value of the "agent-ssl-protocols" propertystatic final booleanDeprecated.The default value of the "agent-ssl-require-authentication" propertystatic final booleanDeprecated.The default value of the "auto-connect" propertystatic final StringDeprecated.The default value of the "email-notification-from" propertystatic final StringDeprecated.The default value of the "email-notification-host" propertystatic final booleanDeprecated.The default value of the "email-notification-enabled" propertystatic final StringDeprecated.The default value of the "email-notification-to" propertystatic final booleanDeprecated.The default value of the "http-authentication-enabled" propertystatic final StringDeprecated.The default value of the "http-authentication-password" propertystatic final StringDeprecated.The default value of the "http-authentication-user" propertystatic final StringDeprecated.The default value of the "httpBindAddress" propertystatic final booleanDeprecated.The default value of the "httpEnabled" propertystatic final intDeprecated.The default value of the "httpPort" property (8080)static final booleanDeprecated.The default value of the "http-ssl-require-authentication" propertystatic final StringDeprecated.The default "propertyFile" valuestatic final StringDeprecated.The default value of the rmi-bind-address propertystatic final booleanDeprecated.The default value of the rmi-enabled propertystatic final intDeprecated.The default value of the rmi-port property (1099)static final booleanDeprecated.The default value of the rmi-registry-enabled propertystatic final intDeprecated.The default value of the rmi-server-port property (0)static final StringDeprecated.The default value of the "snmpBindAddress" propertystatic final StringDeprecated.The default value of the "snmpDirectory" propertystatic final booleanDeprecated.The default value of the "snmpEnabled" propertystatic final StringDeprecated.The default name for file that has "agent state saved serialized"static final StringDeprecated.The name of the "email-notification-enabled" propertystatic final StringDeprecated.The name of the "email-notification-from" propertystatic final StringDeprecated.The name of the "email-notification-host" propertystatic final StringDeprecated.The name of the "email-notification-to" propertystatic final StringDeprecated.The name of the "http-authentication-enabled" propertystatic final StringDeprecated.The name of the "http-authentication-password" propertystatic final StringDeprecated.The name of the "http-authentication-user" propertystatic final StringDeprecated.The name of the "httpBindAddress" propertystatic final StringDeprecated.The name of the "httpEnabled" propertystatic final StringDeprecated.The name of the "httpPort" propertystatic final StringDeprecated.The name of the "http-ssl-require-authentication" propertystatic final intDeprecated.The maximum httpPort (65535)static final intDeprecated.The maximum value for rmi-port or rmi-server-port (65535)static final intDeprecated.The minimum httpPort (0)static final intDeprecated.The minimum value for rmi-port or rmi-server-port (0)static final StringDeprecated.The name of the "rmiBindAddress" propertystatic final StringDeprecated.The name of the "rmiEnabled" propertystatic final StringDeprecated.The name of the "rmiPort" propertystatic final StringDeprecated.The name of the "rmi-registry-enabled" propertystatic final StringDeprecated.The name of the "rmi-server-port" propertystatic final StringDeprecated.The name of the "snmpBindAddress" propertystatic final StringDeprecated.The name of the "snmpDirectory" propertystatic final StringDeprecated.The name of the "snmpEnabled" propertystatic final StringDeprecated.The name of the "state-save-file-name" propertystatic final StringDeprecated.The prefix for JMX Agent configuration system propertiesFields inherited from interface org.apache.geode.admin.DistributedSystemConfig
BIND_ADDRESS_NAME, DEFAULT_ACK_SEVERE_ALERT_THRESHOLD, DEFAULT_ACK_WAIT_THRESHOLD, DEFAULT_BIND_ADDRESS, DEFAULT_DISABLE_AUTO_RECONNECT, DEFAULT_DISABLE_JMX, 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_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, SYSTEM_ID_NAME, TCP_PORT_NAME -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Returns anAgentConfigwith the same configuration as thisAgentConfig.Deprecated.Returns the SSL ciphers used when connecting to the JMX agent.Deprecated.Returns the SSL protocols used when connecting to the JMX agent.booleanDeprecated.Returns whether or not the JMX agent will automatically connect to the distributed system it administers.Deprecated.Returns the EmailID from whom notification emails are sent.Deprecated.Returns the Host Name using which notification emails are sent.Deprecated.Returns the comma separated EmailID list to whom notification emails are sent.Deprecated.Returns the password for HTTP adapter authentication.Deprecated.Returns the user name for HTTP adapter authentication.Deprecated.Returns the bind address to which the HTTP adapter's listening socket is bound.intDeprecated.Returns the port of the HTTP adapter.Deprecated.Returns the bind address to which the RMI adapter's listening sockets are bound.intDeprecated.Returns the port of the RMI adapter.intDeprecated.Returns the port of the RMI Connector Server.Deprecated.Returns the bind address used with the SNMP adapter.Deprecated.Returns the directory for the SNMP adapter.Deprecated.Returns the name of the file to be used for saving agent state See description above.booleanDeprecated.Returns whether or not SSL is required for the JMX agent.booleanDeprecated.Returns whether SSL authentication is used when connecting to the RMI connector.booleanDeprecated.Returns whether Emails for Notifications is enabled See description above.booleanDeprecated.Returns whether or not the HTTP adapter authenticates connections.booleanDeprecated.Returns whether or not the HTTP adapter is enabled.booleanDeprecated.Returns whether SSL authentication is used when connecting to the HTTP connector.booleanDeprecated.Returns whether or not the RMI adapter is enabled.booleanDeprecated.Returns whether or not the agent hosts an RMI registry.booleanDeprecated.Returns whether or not the SNMP adapter is enabled.voidsetAgentSSLCiphers(String ciphers) Deprecated.Sets the SSL ciphers used when connecting to the JMX agent.voidsetAgentSSLEnabled(boolean enabled) Deprecated.Sets whether or not SSL is required for the JMX agent.voidsetAgentSSLProtocols(String protocols) Deprecated.Sets the SSL protocols used when connecting to the JMX agent.voidsetAgentSSLRequireAuth(boolean require) Deprecated.Sets whether SSL authentication is used when connecting to the RMI connector.voidsetAutoConnect(boolean autoConnect) Deprecated.Sets whether or not the JMX agent will automatically connect to the distributed system it administers.voidsetEmailNotificationEnabled(boolean enabled) Deprecated.Sets whether Emails for Notifications is enabled See description above.voidsetEmailNotificationFrom(String emailID) Deprecated.Sets the EmailID from whom notification emails are sent.voidsetEmailNotificationHost(String hostName) Deprecated.Sets the Host Name from whom notification emails are sent.voidsetEmailNotificationToList(String emailIDs) Deprecated.Sets the EmailID from whom notification emails are sent as a comma separated list.voidsetHttpAuthEnabled(boolean enabled) Deprecated.Sets whether or not the HTTP adapter authenticates connections.voidsetHttpAuthPassword(String password) Deprecated.Sets the password for HTTP adapter authentication.voidsetHttpAuthUser(String user) Deprecated.Sets the user name for HTTP adapter authentication.voidsetHttpBindAddress(String address) Deprecated.Sets the bind address to which the HTTP adapter's listening socket is bound.voidsetHttpEnabled(boolean httpEnabled) Deprecated.Sets whether or not the HTTP adapter is enabled.voidsetHttpPort(int port) Deprecated.Sets the port of the HTTP adapter.voidsetHttpSSLRequireAuth(boolean require) Deprecated.Sets whether SSL authentication is used when connecting to the HTTP connector.voidsetRmiBindAddress(String address) Deprecated.Sets the bind address to which the RMI adapter's listening sockets are bound.voidsetRmiEnabled(boolean rmiEnabled) Deprecated.Sets whether or not the RMI adapter is enabled.voidsetRmiPort(int port) Deprecated.Sets the port of the RMI adapter.voidsetRmiRegistryEnabled(boolean enabled) Deprecated.Sets whether or not the agent hosts an RMI registry.voidsetRmiServerPort(int port) Deprecated.Sets the port of the RMI Connector Server.voidsetSnmpBindAddress(String address) Deprecated.Sets the bind address used with the SNMP adapter.voidsetSnmpDirectory(String snmpDirectory) Deprecated.Sets the directory for the SNMP adapter.voidsetSnmpEnabled(boolean enabled) Deprecated.Sets whether or not the SNMP adapter is enabled.voidsetStateSaveFile(String file) Deprecated.Sets the name of the file to be used for saving agent state See description above.Methods inherited from interface org.apache.geode.admin.DistributedSystemConfig
addListener, addSSLProperty, createCacheServerConfig, createCacheVmConfig, createDistributionLocatorConfig, getAckSevereAlertThreshold, getAckWaitThreshold, getBindAddress, getCacheServerConfigs, getCacheVmConfigs, getDisableAutoReconnect, getDisableJmx, getDisableTcp, getDistributionLocatorConfigs, getEnableNetworkPartitionDetection, getEntityConfigXMLFile, getLocators, getLogDiskSpaceLimit, getLogFile, getLogFileSizeLimit, getLogLevel, getMcastAddress, getMcastPort, getMembershipPortRange, getMemberTimeout, getRefreshInterval, getRemoteCommand, getServerBindAddress, getSSLCiphers, getSSLProperties, getSSLProtocols, getSystemId, getSystemName, getTcpPort, isSSLAuthenticationRequired, isSSLEnabled, removeCacheServerConfig, removeCacheVmConfig, removeDistributionLocatorConfig, removeListener, removeSSLProperty, setAckSevereAlertThreshold, setAckWaitThreshold, setBindAddress, setDisableAutoReconnect, setDisableJmx, setDisableTcp, setEnableNetworkPartitionDetection, setEntityConfigXMLFile, setLocators, setLogDiskSpaceLimit, setLogFile, setLogFileSizeLimit, setLogLevel, setMcastAddress, setMcastPort, setMembershipPortRange, setMemberTimeout, setRefreshInterval, setRemoteCommand, setServerBindAddress, setSSLAuthenticationRequired, setSSLCiphers, setSSLEnabled, setSSLProperties, setSSLProtocols, setSystemId, setSystemName, setTcpPort, validate
-
Field Details
-
SYSTEM_PROPERTY_PREFIX
Deprecated.The prefix for JMX Agent configuration system properties- See Also:
-
DEFAULT_PROPERTY_FILE
Deprecated.The default "propertyFile" value- See Also:
-
DEFAULT_STATE_SAVE_FILE
Deprecated.The default name for file that has "agent state saved serialized"- See Also:
-
AUTO_CONNECT_NAME
Deprecated.The name of the "auto-connect" property- See Also:
-
DEFAULT_AUTO_CONNECT
static final boolean DEFAULT_AUTO_CONNECTDeprecated.The default value of the "auto-connect" property- See Also:
-
HTTP_ENABLED_NAME
Deprecated.The name of the "httpEnabled" property- See Also:
-
DEFAULT_HTTP_ENABLED
static final boolean DEFAULT_HTTP_ENABLEDDeprecated.The default value of the "httpEnabled" property- See Also:
-
HTTP_BIND_ADDRESS_NAME
Deprecated.The name of the "httpBindAddress" property- See Also:
-
DEFAULT_HTTP_BIND_ADDRESS
Deprecated.The default value of the "httpBindAddress" property- See Also:
-
HTTP_PORT_NAME
Deprecated.The name of the "httpPort" property- See Also:
-
DEFAULT_HTTP_PORT
static final int DEFAULT_HTTP_PORTDeprecated.The default value of the "httpPort" property (8080)- See Also:
-
MIN_HTTP_PORT
static final int MIN_HTTP_PORTDeprecated.The minimum httpPort (0)- See Also:
-
MAX_HTTP_PORT
static final int MAX_HTTP_PORTDeprecated.The maximum httpPort (65535)- See Also:
-
STATE_SAVE_FILE_NAME
Deprecated.The name of the "state-save-file-name" property- See Also:
-
HTTP_AUTHENTICATION_ENABLED_NAME
Deprecated.The name of the "http-authentication-enabled" property- See Also:
-
DEFAULT_HTTP_AUTHENTICATION_ENABLED
static final boolean DEFAULT_HTTP_AUTHENTICATION_ENABLEDDeprecated.The default value of the "http-authentication-enabled" property- See Also:
-
HTTP_AUTHENTICATION_USER_NAME
Deprecated.The name of the "http-authentication-user" property- See Also:
-
DEFAULT_HTTP_AUTHENTICATION_USER
Deprecated.The default value of the "http-authentication-user" property- See Also:
-
HTTP_AUTHENTICATION_PASSWORD_NAME
Deprecated.The name of the "http-authentication-password" property- See Also:
-
DEFAULT_HTTP_AUTHENTICATION_PASSWORD
Deprecated.The default value of the "http-authentication-password" property- See Also:
-
EMAIL_NOTIFICATIONS_ENABLED_NAME
Deprecated.The name of the "email-notification-enabled" property- See Also:
-
DEFAULT_EMAIL_NOTIFICATIONS_ENABLED
static final boolean DEFAULT_EMAIL_NOTIFICATIONS_ENABLEDDeprecated.The default value of the "email-notification-enabled" property- See Also:
-
EMAIL_NOTIFICATIONS_FROM_NAME
Deprecated.The name of the "email-notification-from" property- See Also:
-
DEFAULT_EMAIL_FROM
Deprecated.The default value of the "email-notification-from" property- See Also:
-
EMAIL_NOTIFICATIONS_HOST_NAME
Deprecated.The name of the "email-notification-host" property- See Also:
-
DEFAULT_EMAIL_HOST
Deprecated.The default value of the "email-notification-host" property- See Also:
-
EMAIL_NOTIFICATIONS_TO_LIST_NAME
Deprecated.The name of the "email-notification-to" property- See Also:
-
DEFAULT_EMAIL_TO_LIST
Deprecated.The default value of the "email-notification-to" property- See Also:
-
RMI_ENABLED_NAME
Deprecated.The name of the "rmiEnabled" property- See Also:
-
DEFAULT_RMI_ENABLED
static final boolean DEFAULT_RMI_ENABLEDDeprecated.The default value of the rmi-enabled property- See Also:
-
RMI_REGISTRY_ENABLED_NAME
Deprecated.The name of the "rmi-registry-enabled" property- See Also:
-
DEFAULT_RMI_REGISTRY_ENABLED
static final boolean DEFAULT_RMI_REGISTRY_ENABLEDDeprecated.The default value of the rmi-registry-enabled property- See Also:
-
RMI_BIND_ADDRESS_NAME
Deprecated.The name of the "rmiBindAddress" property- See Also:
-
DEFAULT_RMI_BIND_ADDRESS
Deprecated.The default value of the rmi-bind-address property- See Also:
-
RMI_PORT_NAME
Deprecated.The name of the "rmiPort" property- See Also:
-
DEFAULT_RMI_PORT
static final int DEFAULT_RMI_PORTDeprecated.The default value of the rmi-port property (1099)- See Also:
-
RMI_SERVER_PORT_NAME
Deprecated.The name of the "rmi-server-port" property- Since:
- GemFire 6.5
- See Also:
-
DEFAULT_RMI_SERVER_PORT
static final int DEFAULT_RMI_SERVER_PORTDeprecated.The default value of the rmi-server-port property (0)- Since:
- GemFire 6.5
- See Also:
-
MIN_RMI_PORT
static final int MIN_RMI_PORTDeprecated.The minimum value for rmi-port or rmi-server-port (0)- See Also:
-
MAX_RMI_PORT
static final int MAX_RMI_PORTDeprecated.The maximum value for rmi-port or rmi-server-port (65535)- See Also:
-
SNMP_ENABLED_NAME
Deprecated.The name of the "snmpEnabled" property- See Also:
-
DEFAULT_SNMP_ENABLED
static final boolean DEFAULT_SNMP_ENABLEDDeprecated.The default value of the "snmpEnabled" property- See Also:
-
SNMP_BIND_ADDRESS_NAME
Deprecated.The name of the "snmpBindAddress" property- See Also:
-
DEFAULT_SNMP_BIND_ADDRESS
Deprecated.The default value of the "snmpBindAddress" property- See Also:
-
SNMP_DIRECTORY_NAME
Deprecated.The name of the "snmpDirectory" property- See Also:
-
DEFAULT_SNMP_DIRECTORY
Deprecated.The default value of the "snmpDirectory" property- See Also:
-
AGENT_SSL_ENABLED_NAME
Deprecated.The name of the "agent-ssl-enabled" property- See Also:
-
DEFAULT_AGENT_SSL_ENABLED
static final boolean DEFAULT_AGENT_SSL_ENABLEDDeprecated.The default value of the "agent-ssl-enabled" property- See Also:
-
AGENT_SSL_PROTOCOLS_NAME
Deprecated.The name of the "agent-ssl-protocols" property- See Also:
-
DEFAULT_AGENT_SSL_PROTOCOLS
Deprecated.The default value of the "agent-ssl-protocols" property- See Also:
-
AGENT_SSL_CIPHERS_NAME
Deprecated.The name of the "agent-ssl-ciphers" property- See Also:
-
DEFAULT_AGENT_SSL_CIPHERS
Deprecated.The default value of the "agent-ssl-ciphers" property- See Also:
-
AGENT_SSL_REQUIRE_AUTHENTICATION_NAME
Deprecated.The name of the "agent-ssl-require-authentication" property- See Also:
-
DEFAULT_AGENT_SSL_REQUIRE_AUTHENTICATION
static final boolean DEFAULT_AGENT_SSL_REQUIRE_AUTHENTICATIONDeprecated.The default value of the "agent-ssl-require-authentication" property- See Also:
-
HTTP_SSL_REQUIRE_AUTHENTICATION_NAME
Deprecated.The name of the "http-ssl-require-authentication" property- See Also:
-
DEFAULT_HTTP_SSL_REQUIRE_AUTHENTICATION
static final boolean DEFAULT_HTTP_SSL_REQUIRE_AUTHENTICATIONDeprecated.The default value of the "http-ssl-require-authentication" property- See Also:
-
-
Method Details
-
getAutoConnect
boolean getAutoConnect()Deprecated.Returns whether or not the JMX agent will automatically connect to the distributed system it administers. See description above.- Returns:
- whether or not the JMX agent will automatically connect to the distributed system it administers
-
setAutoConnect
void setAutoConnect(boolean autoConnect) Deprecated.Sets whether or not the JMX agent will automatically connect to the distributed system it administers. See description above.- Parameters:
autoConnect- whether or not the JMX agent will automatically connect to the distributed system it administers
-
isHttpEnabled
boolean isHttpEnabled()Deprecated.Returns whether or not the HTTP adapter is enabled. See description above.- Returns:
- whether or not the HTTP adapter is enabled
-
setHttpEnabled
void setHttpEnabled(boolean httpEnabled) Deprecated.Sets whether or not the HTTP adapter is enabled. See description above.- Parameters:
httpEnabled- whether or not the HTTP adapter is enabled
-
getHttpPort
int getHttpPort()Deprecated.Returns the port of the HTTP adapter. See description above.- Returns:
- the port of the HTTP adapter
-
setHttpPort
void setHttpPort(int port) Deprecated.Sets the port of the HTTP adapter. See description above.- Parameters:
port- the port of the HTTP adapter
-
getHttpBindAddress
String getHttpBindAddress()Deprecated.Returns the bind address to which the HTTP adapter's listening socket is bound. See description above.- Returns:
- the bind address to which the HTTP adapter's listening socket is bound
-
setHttpBindAddress
Deprecated.Sets the bind address to which the HTTP adapter's listening socket is bound. See description above.- Parameters:
address- the bind address to which the HTTP adapter's listening socket is bound
-
isHttpAuthEnabled
boolean isHttpAuthEnabled()Deprecated.Returns whether or not the HTTP adapter authenticates connections. See description above.- Returns:
- whether or not the HTTP adapter authenticates connections
-
setHttpAuthEnabled
void setHttpAuthEnabled(boolean enabled) Deprecated.Sets whether or not the HTTP adapter authenticates connections. See description above.- Parameters:
enabled- whether or not the HTTP adapter authenticates connections
-
getHttpAuthUser
String getHttpAuthUser()Deprecated.Returns the user name for HTTP adapter authentication. See description above.- Returns:
- the user name for HTTP adapter authentication
-
setHttpAuthUser
Deprecated.Sets the user name for HTTP adapter authentication. See description above.- Parameters:
user- the user name for HTTP adapter authentication
-
getHttpAuthPassword
String getHttpAuthPassword()Deprecated.Returns the password for HTTP adapter authentication. See description above.- Returns:
- the password for HTTP adapter authentication
-
setHttpAuthPassword
Deprecated.Sets the password for HTTP adapter authentication. See description above.- Parameters:
password- the password for HTTP adapter authentication
-
isRmiEnabled
boolean isRmiEnabled()Deprecated.Returns whether or not the RMI adapter is enabled. See description above.- Returns:
- whether or not the RMI adapter is enabled
-
setRmiEnabled
void setRmiEnabled(boolean rmiEnabled) Deprecated.Sets whether or not the RMI adapter is enabled. See description above.- Parameters:
rmiEnabled- whether or not the RMI adapter is enabled
-
isRmiRegistryEnabled
boolean isRmiRegistryEnabled()Deprecated.Returns whether or not the agent hosts an RMI registry. See description above.- Returns:
- whether or not the agent hosts an RMI registry
-
setRmiRegistryEnabled
void setRmiRegistryEnabled(boolean enabled) Deprecated.Sets whether or not the agent hosts an RMI registry. See description above.- Parameters:
enabled- whether or not the agent hosts an RMI registry
-
getRmiPort
int getRmiPort()Deprecated.Returns the port of the RMI adapter. See description above.- Returns:
- the port of the RMI adapter
-
setRmiPort
void setRmiPort(int port) Deprecated.Sets the port of the RMI adapter. See description above.- Parameters:
port- the port of the RMI adapter
-
getRmiServerPort
int getRmiServerPort()Deprecated.Returns the port of the RMI Connector Server. See description above.- Returns:
- the value set for rmi-server-port
- Since:
- GemFire 6.5
-
setRmiServerPort
void setRmiServerPort(int port) Deprecated.Sets the port of the RMI Connector Server. See description above.- Parameters:
port- rmi-server-port to set.- Since:
- GemFire 6.5
-
getRmiBindAddress
String getRmiBindAddress()Deprecated.Returns the bind address to which the RMI adapter's listening sockets are bound. See description above.- Returns:
- the bind address to which the RMI adapter's listening sockets are bound
-
setRmiBindAddress
Deprecated.Sets the bind address to which the RMI adapter's listening sockets are bound. See description above.- Parameters:
address- the bind address to which the RMI adapter's listening sockets are bound
-
isSnmpEnabled
boolean isSnmpEnabled()Deprecated.Returns whether or not the SNMP adapter is enabled. See description above.- Returns:
- whether or not the SNMP adapter is enabled
-
setSnmpEnabled
void setSnmpEnabled(boolean enabled) Deprecated.Sets whether or not the SNMP adapter is enabled. See description above.- Parameters:
enabled- whether or not the SNMP adapter is enabled
-
getSnmpBindAddress
String getSnmpBindAddress()Deprecated.Returns the bind address used with the SNMP adapter. See description above.- Returns:
- the bind address used with the SNMP adapter
-
setSnmpBindAddress
Deprecated.Sets the bind address used with the SNMP adapter. See description above.- Parameters:
address- the bind address used with the SNMP adapter
-
getSnmpDirectory
String getSnmpDirectory()Deprecated.Returns the directory for the SNMP adapter. See description above.- Returns:
- the directory for the SNMP adapter
-
setSnmpDirectory
Deprecated.Sets the directory for the SNMP adapter. See description above.- Parameters:
snmpDirectory- the directory for the SNMP adapter
-
isAgentSSLEnabled
boolean isAgentSSLEnabled()Deprecated.Returns whether or not SSL is required for the JMX agent. See description above.- Returns:
- whether or not SSL is required for the JMX agent
-
setAgentSSLEnabled
void setAgentSSLEnabled(boolean enabled) Deprecated.Sets whether or not SSL is required for the JMX agent. See description above.- Parameters:
enabled- whether or not SSL is required for the JMX agent
-
getAgentSSLProtocols
String getAgentSSLProtocols()Deprecated.Returns the SSL protocols used when connecting to the JMX agent. See description above.- Returns:
- the SSL protocols used when connecting to the JMX agent
-
setAgentSSLProtocols
Deprecated.Sets the SSL protocols used when connecting to the JMX agent. See description above.- Parameters:
protocols- the SSL protocols used when connecting to the JMX agent
-
getAgentSSLCiphers
String getAgentSSLCiphers()Deprecated.Returns the SSL ciphers used when connecting to the JMX agent. See description above.- Returns:
- the SSL ciphers used when connecting to the JMX agent
-
setAgentSSLCiphers
Deprecated.Sets the SSL ciphers used when connecting to the JMX agent. See description above.- Parameters:
ciphers- the SSL ciphers used when connecting to the JMX agent
-
isAgentSSLRequireAuth
boolean isAgentSSLRequireAuth()Deprecated.Returns whether SSL authentication is used when connecting to the RMI connector. See description above.- Returns:
- whether SSL authentication is used when connecting to the RMI connector
-
setAgentSSLRequireAuth
void setAgentSSLRequireAuth(boolean require) Deprecated.Sets whether SSL authentication is used when connecting to the RMI connector. See description above.- Parameters:
require- whether SSL authentication is used when connecting to the RMI connector
-
isHttpSSLRequireAuth
boolean isHttpSSLRequireAuth()Deprecated.Returns whether SSL authentication is used when connecting to the HTTP connector. See description above.- Returns:
- whether SSL authentication is used when connecting to the HTTP connector
-
setHttpSSLRequireAuth
void setHttpSSLRequireAuth(boolean require) Deprecated.Sets whether SSL authentication is used when connecting to the HTTP connector. See description above.- Parameters:
require- whether SSL authentication is used when connecting to the HTTP connector
-
isEmailNotificationEnabled
boolean isEmailNotificationEnabled()Deprecated.Returns whether Emails for Notifications is enabled See description above.- Returns:
- whether Emails for Notifications is enabled
-
setEmailNotificationEnabled
void setEmailNotificationEnabled(boolean enabled) Deprecated.Sets whether Emails for Notifications is enabled See description above.- Parameters:
enabled- whether Emails for Notifications is enabled
-
getEmailNotificationFrom
String getEmailNotificationFrom()Deprecated.Returns the EmailID from whom notification emails are sent. See description above.- Returns:
- the EmailID from whom notification emails are sent
-
setEmailNotificationFrom
Deprecated.Sets the EmailID from whom notification emails are sent. See description above.- Parameters:
emailID- the EmailID from whom notification emails are sent
-
getEmailNotificationHost
String getEmailNotificationHost()Deprecated.Returns the Host Name using which notification emails are sent. See description above.- Returns:
- the Host Name using which notification emails are sent
-
setEmailNotificationHost
Deprecated.Sets the Host Name from whom notification emails are sent. See description above.- Parameters:
hostName- the Host Name from whom notification emails are sent
-
getEmailNotificationToList
String getEmailNotificationToList()Deprecated.Returns the comma separated EmailID list to whom notification emails are sent. See description above.- Returns:
- the comma separated EmailID list to whom notification emails are sent
-
setEmailNotificationToList
Deprecated.Sets the EmailID from whom notification emails are sent as a comma separated list. See description above.- Parameters:
emailIDs- the EmailID from whom notification emails are sent as a comma separated list
-
getStateSaveFile
String getStateSaveFile()Deprecated.Returns the name of the file to be used for saving agent state See description above.- Returns:
- the name of the file to be used for saving agent state
-
setStateSaveFile
Deprecated.Sets the name of the file to be used for saving agent state See description above.- Parameters:
file- the name of the file to be used for saving agent state
-
clone
Deprecated.Returns anAgentConfigwith the same configuration as thisAgentConfig.- Specified by:
clonein interfaceDistributedSystemConfig- Returns:
- a copy of this
DistributedSystemConfigobject whose configuration can be modified - Throws:
CloneNotSupportedException- if the object's class does not support the Cloneable interface
-
managementpackage instead