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