Class JavaInformations
java.lang.Object
net.bull.javamelody.internal.model.JavaInformations
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ThreadInformations>booleanbooleanintintintintlonggetHost()intgetOS()intgetPID()longintlongdoubledoubleintlonglonglonglongdoublelongintdoublebooleanbooleanbooleanbooleanbooleanstatic voidsetWebXmlExistsAndPomXmlExists(boolean webXmlExists, boolean pomXmlExists) toString()
-
Field Details
-
HIGH_USAGE_THRESHOLD_IN_PERCENTS
public static final double HIGH_USAGE_THRESHOLD_IN_PERCENTS- See Also:
-
-
Constructor Details
-
JavaInformations
-
-
Method Details
-
setWebXmlExistsAndPomXmlExists
public static void setWebXmlExistsAndPomXmlExists(boolean webXmlExists, boolean pomXmlExists) -
doesWebXmlExists
public boolean doesWebXmlExists() -
doesPomXmlExists
public boolean doesPomXmlExists() -
buildThreadInformationsList
-
getMemoryInformations
-
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
-
getOS
-
getAvailableProcessors
public int getAvailableProcessors() -
getJavaVersion
-
getJvmVersion
-
getPID
-
getServerInfo
-
getContextPath
-
getContextDisplayName
-
getWebappVersion
-
getStartDate
-
getJvmArguments
-
getFreeDiskSpaceInTemp
public long getFreeDiskSpaceInTemp() -
getUsableDiskSpaceInTemp
public long getUsableDiskSpaceInTemp() -
getThreadCount
public int getThreadCount() -
getPeakThreadCount
public int getPeakThreadCount() -
getTotalStartedThreadCount
public long getTotalStartedThreadCount() -
getDataBaseVersion
-
getDataSourceDetails
-
getThreadInformationsList
-
getCacheInformationsList
-
getJCacheInformationsList
-
getJobInformationsList
-
getCurrentlyExecutingJobCount
public int getCurrentlyExecutingJobCount() -
getHsErrPidList
-
isStackTraceEnabled
public boolean isStackTraceEnabled() -
isCacheEnabled
public boolean isCacheEnabled() -
isJCacheEnabled
public boolean isJCacheEnabled() -
isJobEnabled
public boolean isJobEnabled() -
isSpringBeansEnabled
public boolean isSpringBeansEnabled() -
toString
-