public class ServerConfig extends Object implements XServerConfig, XTimerMetricsReportable
Constructor and Description |
---|
ServerConfig() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
XClusterManager |
getClusterManager() |
File |
getConfDir() |
XEnvironment |
getEnvironment() |
XPlatform |
getIntegrationPlatform() |
XMetricsEngine |
getMetricsEngine() |
List<XProject> |
getProjects() |
XTimerMetricsReporter |
getReporter(XServerConfig serverConfig) |
Status |
getServerStatus() |
Timer |
getTimer() |
void |
init() |
void |
registerTimelyMetricsReporter(String reporterId,
XTimerMetricsReporter timelyMetricsReporter) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
static void |
setConfDir(File confDirToBeSet) |
void |
setSysInfoGranularity(long sysInfoGranularity) |
void |
setSysInfoLogInterval(long sysInfoLogInterval) |
void |
shutdown() |
void |
start() |
void |
startup() |
void |
stop() |
void |
unregisterTimelyMetricsReporter(String reporterId) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void init()
public void start()
public void stop()
public void destroy()
public void startup()
public void shutdown()
public List<XProject> getProjects()
getProjects
in interface XServerConfig
public XPlatform getIntegrationPlatform()
getIntegrationPlatform
in interface XServerConfig
public XEnvironment getEnvironment()
getEnvironment
in interface XServerConfig
public Timer getTimer()
getTimer
in interface XServerConfig
public void setSysInfoLogInterval(long sysInfoLogInterval)
setSysInfoLogInterval
in interface XServerConfig
public void setSysInfoGranularity(long sysInfoGranularity)
setSysInfoGranularity
in interface XServerConfig
public XMetricsEngine getMetricsEngine()
getMetricsEngine
in interface XServerConfig
public void registerTimelyMetricsReporter(String reporterId, XTimerMetricsReporter timelyMetricsReporter)
registerTimelyMetricsReporter
in interface XServerConfig
public void unregisterTimelyMetricsReporter(String reporterId)
unregisterTimelyMetricsReporter
in interface XServerConfig
public static void setConfDir(File confDirToBeSet)
public File getConfDir()
getConfDir
in interface XServerConfig
public XClusterManager getClusterManager()
getClusterManager
in interface XServerConfig
public Status getServerStatus()
getServerStatus
in interface XServerConfig
public XTimerMetricsReporter getReporter(XServerConfig serverConfig)
getReporter
in interface XTimerMetricsReportable
Copyright © 2016–2019 AdroitLogic. All rights reserved.