Class JavaInformations

java.lang.Object
net.bull.javamelody.internal.model.JavaInformations
All Implemented Interfaces:
Serializable

public class JavaInformations extends Object implements Serializable
Informations systèmes sur le serveur, sans code html de présentation. L'état d'une instance est initialisé à son instanciation et non mutable; il est donc de fait thread-safe. Cet état est celui d'une instance de JVM java, de ses threads et du système à un instant t. Les instances sont sérialisables pour pouvoir être transmises au serveur de collecte.
Author:
Emeric Vernat
See Also:
  • Field Details

    • HIGH_USAGE_THRESHOLD_IN_PERCENTS

      public static final double HIGH_USAGE_THRESHOLD_IN_PERCENTS
      See Also:
  • Constructor Details

    • JavaInformations

      public JavaInformations(ServletContext servletContext, boolean includeDetails)
  • Method Details

    • setWebXmlExistsAndPomXmlExists

      public static void setWebXmlExistsAndPomXmlExists(boolean webXmlExists, boolean pomXmlExists)
    • doesWebXmlExists

      public boolean doesWebXmlExists()
    • doesPomXmlExists

      public boolean doesPomXmlExists()
    • buildThreadInformationsList

      public static List<ThreadInformations> buildThreadInformationsList()
    • getMemoryInformations

      public MemoryInformations getMemoryInformations()
    • getTomcatInformationsList

      public List<TomcatInformations> getTomcatInformationsList()
    • getSessionCount

      public int getSessionCount()
    • getSessionMeanAgeInMinutes

      public long getSessionMeanAgeInMinutes()
    • getActiveThreadCount

      public int getActiveThreadCount()
    • getUsedConnectionCount

      public int getUsedConnectionCount()
    • getActiveConnectionCount

      public int getActiveConnectionCount()
    • getMaxConnectionCount

      public int getMaxConnectionCount()
    • getTransactionCount

      public long getTransactionCount()
    • getUsedConnectionPercentage

      public double getUsedConnectionPercentage()
    • getProcessCpuTimeMillis

      public long getProcessCpuTimeMillis()
    • getSystemLoadAverage

      public double getSystemLoadAverage()
    • getSystemCpuLoad

      public double getSystemCpuLoad()
    • getUnixOpenFileDescriptorCount

      public long getUnixOpenFileDescriptorCount()
    • getUnixMaxFileDescriptorCount

      public long getUnixMaxFileDescriptorCount()
    • getUnixOpenFileDescriptorPercentage

      public double getUnixOpenFileDescriptorPercentage()
    • getHost

      public String getHost()
    • getOS

      public String getOS()
    • getAvailableProcessors

      public int getAvailableProcessors()
    • getJavaVersion

      public String getJavaVersion()
    • getJvmVersion

      public String getJvmVersion()
    • getPID

      public String getPID()
    • getServerInfo

      public String getServerInfo()
    • getContextPath

      public String getContextPath()
    • getContextDisplayName

      public String getContextDisplayName()
    • getWebappVersion

      public String getWebappVersion()
    • getStartDate

      public Date getStartDate()
    • getJvmArguments

      public String getJvmArguments()
    • getFreeDiskSpaceInTemp

      public long getFreeDiskSpaceInTemp()
    • getUsableDiskSpaceInTemp

      public long getUsableDiskSpaceInTemp()
    • getThreadCount

      public int getThreadCount()
    • getPeakThreadCount

      public int getPeakThreadCount()
    • getTotalStartedThreadCount

      public long getTotalStartedThreadCount()
    • getDataBaseVersion

      public String getDataBaseVersion()
    • getDataSourceDetails

      public String getDataSourceDetails()
    • getThreadInformationsList

      public List<ThreadInformations> getThreadInformationsList()
    • getCacheInformationsList

      public List<CacheInformations> getCacheInformationsList()
    • getJCacheInformationsList

      public List<JCacheInformations> getJCacheInformationsList()
    • getJobInformationsList

      public List<JobInformations> getJobInformationsList()
    • getCurrentlyExecutingJobCount

      public int getCurrentlyExecutingJobCount()
    • getHsErrPidList

      public List<HsErrPid> getHsErrPidList()
    • isStackTraceEnabled

      public boolean isStackTraceEnabled()
    • isCacheEnabled

      public boolean isCacheEnabled()
    • isJCacheEnabled

      public boolean isJCacheEnabled()
    • isJobEnabled

      public boolean isJobEnabled()
    • isSpringBeansEnabled

      public boolean isSpringBeansEnabled()
    • toString

      public String toString()
      Overrides:
      toString in class Object