public class BambooHealthCheckServiceImpl extends Object implements BambooHealthCheckService
Constructor and Description |
---|
BambooHealthCheckServiceImpl(com.atlassian.config.db.HibernateConfig hibernateConfig,
DbmsBean dbmsBean,
AgentManager agentManager,
org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate) |
Modifier and Type | Method and Description |
---|---|
DatabaseType |
getDatabaseType()
Instance database type
|
long |
getLocalAgentsCount() |
int |
getMaxDbConnectionPoolsSize() |
Set<String> |
getModulesThatCanBeDisabled() |
MySQLChecks |
getMySQLChecks() |
Set<String> |
getPluginsThatCanBeDisabled() |
void |
ignoreDisabledPlugin(String key) |
void |
ignoreDisabledPluginModule(String completeKey) |
boolean |
isHsqlDatabaseUsed()
Deprecated.
since 5.10.0, use
getDatabaseType() == DatabaseType.HSQL |
@Autowired public BambooHealthCheckServiceImpl(com.atlassian.config.db.HibernateConfig hibernateConfig, DbmsBean dbmsBean, AgentManager agentManager, org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate)
@Deprecated public boolean isHsqlDatabaseUsed()
getDatabaseType()
== DatabaseType.HSQL
isHsqlDatabaseUsed
in interface BambooHealthCheckService
public DatabaseType getDatabaseType()
BambooHealthCheckService
getDatabaseType
in interface BambooHealthCheckService
public int getMaxDbConnectionPoolsSize()
getMaxDbConnectionPoolsSize
in interface BambooHealthCheckService
public long getLocalAgentsCount()
getLocalAgentsCount
in interface BambooHealthCheckService
public void ignoreDisabledPlugin(String key)
ignoreDisabledPlugin
in interface BambooHealthCheckService
public void ignoreDisabledPluginModule(String completeKey)
ignoreDisabledPluginModule
in interface BambooHealthCheckService
public Set<String> getPluginsThatCanBeDisabled()
getPluginsThatCanBeDisabled
in interface BambooHealthCheckService
public Set<String> getModulesThatCanBeDisabled()
getModulesThatCanBeDisabled
in interface BambooHealthCheckService
public MySQLChecks getMySQLChecks()
getMySQLChecks
in interface BambooHealthCheckService
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.