Interface SystemInformationService

  • All Known Implementing Classes:
    DefaultSystemInformationService

    public interface SystemInformationService
    A service for retrieving information about the system.
    • 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.
      • 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.
      • 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