Class DatabaseInfo
java.lang.Object
com.atlassian.confluence.status.service.systeminfo.DatabaseInfo
A simple bean encapsulating information about Confluence's database configuration and behaviour.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getUrl()voidsetCatalogName(String catalogName) voidsetDialect(String dialect) voidsetDriverFile(File driverFile) set the path to the JDBC drivervoidsetDriverName(String driverName) voidsetDriverVersion(String driverVersion) voidsetExampleLatency(Long exampleLatency) voidsetIsolationLevel(String isolationLevel) voidvoidvoidsetVersion(String databaseVersion)
-
Constructor Details
-
DatabaseInfo
public DatabaseInfo()
-
-
Method Details
-
getUrl
-
setUrl
-
getDialect
-
setDialect
-
getIsolationLevel
-
setIsolationLevel
-
getDriverName
-
setDriverName
-
getDriverVersion
-
setDriverVersion
-
getVersion
-
setVersion
-
getName
-
setName
-
getCatalogName
-
setCatalogName
-
getExampleLatency
- Returns:
- the duration of an example query against the database in milliseconds. Null will be returned if this has not been populated.
-
setExampleLatency
-
getDriverFile
- Returns:
- the path to the JDBC driver
- Since:
- 6.0
-
setDriverFile
set the path to the JDBC driver- Parameters:
driverFile- the JDBC driver file- Since:
- 6.0
-