Package dk.netarkivet.monitor
Class MonitorSettings
- java.lang.Object
-
- dk.netarkivet.monitor.MonitorSettings
-
public class MonitorSettings extends java.lang.Object
Provides access to monitor settings. The settings are retrieved from an settings.xml file under monitor dir.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_REREGISTER_DELAY
Delay between every reregistering in minutes.static java.lang.String
JMX_ABSOLUTE_MAX_LOG_LENGTH
The absolute maximum length at which lines in the JMX log will be wrapped, even if this means breaking the line within a word.static java.lang.String
JMX_PASSWORD_SETTING
settings.monitor.jmxPassword:
The password used to connect to the all MBeanservers started by the application.static java.lang.String
JMX_PREFERRED_MAX_LOG_LENGTH
settings.monitor.prefferedMaxJMXLogLength:
The preferred length at which lines in the JMX log will be wrapped.static java.lang.String
JMX_PROXY_TIMEOUT
settings.monitor.jmxProxyTimeout:
The number of milliseconds we wait for a connection to other machines when we proxy all machines MBeans to one place for monitoring, for instance in the Status GUI site section.static java.lang.String
JMX_USERNAME_SETTING
settings.monitor.jmxUsername:
The username used to connect to the all MBeanservers started by the application.static java.lang.String
LOGGING_HISTORY_SIZE
settings.monitor.logging.historySize:
The number of logmessages from each application visible in the monitor.
-
Constructor Summary
Constructors Constructor Description MonitorSettings()
-
-
-
Field Detail
-
JMX_USERNAME_SETTING
public static java.lang.String JMX_USERNAME_SETTING
settings.monitor.jmxUsername:
The username used to connect to the all MBeanservers started by the application. The username must correspond to the value stored in the jmxremote.password file (name defined in setting settings.common.jmx.passwordFile).
-
JMX_PASSWORD_SETTING
public static java.lang.String JMX_PASSWORD_SETTING
settings.monitor.jmxPassword:
The password used to connect to the all MBeanservers started by the application. The password must correspond to the value stored in the jmxremote.password file (name defined in setting settings.common.jmx.passwordFile).
-
LOGGING_HISTORY_SIZE
public static java.lang.String LOGGING_HISTORY_SIZE
settings.monitor.logging.historySize:
The number of logmessages from each application visible in the monitor.
-
JMX_PROXY_TIMEOUT
public static java.lang.String JMX_PROXY_TIMEOUT
settings.monitor.jmxProxyTimeout:
The number of milliseconds we wait for a connection to other machines when we proxy all machines MBeans to one place for monitoring, for instance in the Status GUI site section.
-
DEFAULT_REREGISTER_DELAY
public static java.lang.String DEFAULT_REREGISTER_DELAY
Delay between every reregistering in minutes.
-
JMX_PREFERRED_MAX_LOG_LENGTH
public static java.lang.String JMX_PREFERRED_MAX_LOG_LENGTH
settings.monitor.prefferedMaxJMXLogLength:
The preferred length at which lines in the JMX log will be wrapped. (default 70)
-
JMX_ABSOLUTE_MAX_LOG_LENGTH
public static java.lang.String JMX_ABSOLUTE_MAX_LOG_LENGTH
The absolute maximum length at which lines in the JMX log will be wrapped, even if this means breaking the line within a word. (default 100)
-
-
Constructor Detail
-
MonitorSettings
public MonitorSettings()
-
-