Interface SystemInformationService
-
- All Known Implementing Classes:
DefaultSystemInformationService
public interface SystemInformationServiceA service for retrieving information about the system.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJDBC_DRIVER_SYSTEM_PROPERTY
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AccessModegetAccessMode()AttachmentStorageInfogetAttachmentStorageProperties()Optional<CloudPlatformMetadata>getCloudPlatformMetadata()Optional<ClusteredDatabasePlatformMetadata>getClusteredDatabaseInformation(CloudPlatformType cloudPlatformType)ConfluenceInfogetConfluenceInfo()DatabaseInfogetDatabaseInfo()HardwareInfogetHardwareInfo()PropertiesgetHibernateProperties()IntegergetMaxHTTPThreads()MemoryInfogetMemoryInfo()Map<String,String>getModifications()DatabaseInfogetSafeDatabaseInfo()SecurityInfogetSecurityInfo()SystemInfoFromDbgetSystemInfoFromDb()Deprecated.SystemInfogetSystemProperties()UsageInfogetUsageInfo()booleanisShowInfoOn500()
-
-
-
Field Detail
-
JDBC_DRIVER_SYSTEM_PROPERTY
static final String JDBC_DRIVER_SYSTEM_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDatabaseInfo
DatabaseInfo getDatabaseInfo()
- Returns:
- information about the database configuration for the system. Should the system be in a state in which information is not available (e.g. bootstrap failed) then null will be returned.
-
getSafeDatabaseInfo
DatabaseInfo getSafeDatabaseInfo()
- Returns:
- information about the database configuration for the system. Properties that require the direct retrieval of a database connection will be skipped. Some properties are pulled out of the system config which technically could fault through to the database, but for the most part they'll be cached.
-
getConfluenceInfo
ConfluenceInfo getConfluenceInfo()
- Returns:
- information about the Confluence build and other basic configuration for the system. Should the system be in a state in which information is not available (e.g. bootstrap failed) then null will be returned.
-
getSystemProperties
SystemInfo getSystemProperties()
- Returns:
- various useful system information points, mainly gathered from the System properties. Regardless of system state, an instance bean will always be returned from this call.
-
getAttachmentStorageProperties
AttachmentStorageInfo getAttachmentStorageProperties()
- Returns:
- information about the storage type used for attachment files.
-
getMemoryInfo
MemoryInfo getMemoryInfo()
- Returns:
- information about the memory status of the system.
-
getUsageInfo
UsageInfo getUsageInfo()
- Returns:
- information about the amount of data in the system.
-
getSystemInfoFromDb
@Deprecated SystemInfoFromDb getSystemInfoFromDb()
Deprecated.- Returns:
- all system information that originate from the database.
-
isShowInfoOn500
boolean isShowInfoOn500()
-
getAccessMode
AccessMode getAccessMode()
- Returns:
- the maintenance info
- Since:
- 6.7.0
-
getMaxHTTPThreads
Integer getMaxHTTPThreads()
- Returns:
- max number of HTTP threads configured in Tomcat
- Since:
- 6.11.0
-
getHibernateProperties
Properties getHibernateProperties()
- Returns:
- a Properties map of Hibernate properties from the application config
- Since:
- 6.11.0
-
getHardwareInfo
HardwareInfo getHardwareInfo()
- Returns:
- information about the hardware specifications of the system on which Confluence is running
- Since:
- 6.11.0
-
getCloudPlatformMetadata
Optional<CloudPlatformMetadata> getCloudPlatformMetadata()
- Returns:
- information about the cloud platform on which Confluence is running, if any
- Since:
- 6.12.0
-
getClusteredDatabaseInformation
Optional<ClusteredDatabasePlatformMetadata> getClusteredDatabaseInformation(CloudPlatformType cloudPlatformType)
- Returns:
- information about the clustered DB system to which Confluence is connected, if any
- Since:
- 7.0.0
-
getSecurityInfo
SecurityInfo getSecurityInfo()
- Returns:
- information about the security configuration of the system.
- Since:
- 8.6.0
-
-