Package org.compiere.server
Class SystemInfo
java.lang.Object
org.compiere.server.SystemInfo
- All Implemented Interfaces:
Serializable
- Author:
- hengsin
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
double
static SystemInfo
getClusterNodeInfo
(String nodeId) static int
getClusterSessionCount
(IClusterMember member) int
long
long
static SystemInfo
int
long
int
int
long
TrxInfo[]
-
Method Details
-
getPropertyFileName
- Returns:
- idempiere property filename
-
getIDempiereHome
- Returns:
- idempiere home
-
getOperatingSystem
- Returns:
- the operatingSystem
-
getJavaVM
- Returns:
- the javaVM
-
getDatabaseDescription
- Returns:
- the databaseDescription
-
getDatabaseConnectionURL
- Returns:
- the databaseConnectionURL
-
getDatabaseStatus
- Returns:
- the databaseStatus
-
getMemoryUsage
- Returns:
- the memoryUsage
-
getHeapMemoryUsage
- Returns:
- the heapMemoryUsage
-
getRuntimeName
- Returns:
- the runtimeName
-
getRuntimeUpTime
public long getRuntimeUpTime()- Returns:
- the runtimeUpTime
-
getThreadCount
public int getThreadCount()- Returns:
- the threadCount
-
getPeakThreadCount
public int getPeakThreadCount()- Returns:
- the peakThreadCount
-
getDaemonThreadCount
public int getDaemonThreadCount()- Returns:
- the daemonThreadCount
-
getTotalStartedThreadCount
public long getTotalStartedThreadCount()- Returns:
- the totalStartedThreadCount
-
getTrxInfos
- Returns:
- the trxInfos
-
getLogLevel
- Returns:
- the logLevel
-
getCurrentLogFile
- Returns:
- the currentLogFile
-
getLogFileInfos
- Returns:
- the logFileInfos
-
getGarbageCollectionTime
public long getGarbageCollectionTime()- Returns:
- the garbageCollectionTime
-
getLocalSystemInfo
-
getGarbageCollectionCount
public long getGarbageCollectionCount()- Returns:
- the garbageCollectionCount
-
getAvailableProcessors
public int getAvailableProcessors()- Returns:
- the availableProcessors
-
getAverageSystemLoad
public double getAverageSystemLoad()- Returns:
- the averageSystemLoad
-
getSessionCount
public int getSessionCount()- Returns:
- the sessionCount
-
getAddress
- Returns:
- the address
-
getClusterNodeInfo
- Parameters:
nodeId
-- Returns:
- systeminfo for cluster node
-
getClusterSessionCount
- Parameters:
member
-- Returns:
- session count for cluster node
-