Package com.simplicite.util.tools
Class SystemTool.SystemInfo
- java.lang.Object
-
- com.simplicite.util.tools.SystemTool.SystemInfo
-
- Enclosing class:
- SystemTool
public class SystemTool.SystemInfo extends java.lang.Object
Simple structure to store the platform informations
-
-
Field Summary
Fields Modifier and Type Field Description int
cacheAPIGrant
Current mounted API grantsint
cacheAPIGrantMax
Max API grantsint
cacheAPIGrantPrct
API grants cache occupied percentageint
cacheObject
Current mounted objects in cacheint
cacheObjectMax
Max objects in cacheint
cacheObjectPrct
Object cache occupied percentageint
cacheProcess
Current mounted processes in cacheint
cacheProcessMax
Max processes in cacheint
cacheProcessPrct
Processes cache occupied percentagelong
dirBinSize
Recycle bin size (Mo)long
dirDBDocSize
DBDoc size (Mo)long
dirExportsSize
Exports size (Mo)long
dirIndexSize
Lucene Indexes size (Mo)long
dirTmpSize
Temp size (Mo)long
diskFree
Free disks space (Mo)long
diskTotal
Total disks size (Mo)long
diskUsable
Usable disks size (Mo)long
heapFreeSize
Current free heap size (ko)long
heapMaxSize
Current heap max size (ko)long
heapSize
Current allocated memory (ko)long
totalFreeMemory
Total free memory (ko)
-
Constructor Summary
Constructors Constructor Description SystemInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toJSON()
To JSON stringorg.json.JSONObject
toJSONObject()
To JSON objectjava.lang.String
toString()
-
-
-
Field Detail
-
heapFreeSize
public long heapFreeSize
Current free heap size (ko)
-
heapMaxSize
public long heapMaxSize
Current heap max size (ko)
-
heapSize
public long heapSize
Current allocated memory (ko)
-
totalFreeMemory
public long totalFreeMemory
Total free memory (ko)
-
cacheObject
public int cacheObject
Current mounted objects in cache
-
cacheObjectMax
public int cacheObjectMax
Max objects in cache
-
cacheObjectPrct
public int cacheObjectPrct
Object cache occupied percentage
-
cacheProcess
public int cacheProcess
Current mounted processes in cache
-
cacheProcessMax
public int cacheProcessMax
Max processes in cache
-
cacheProcessPrct
public int cacheProcessPrct
Processes cache occupied percentage
-
cacheAPIGrant
public int cacheAPIGrant
Current mounted API grants
-
cacheAPIGrantMax
public int cacheAPIGrantMax
Max API grants
-
cacheAPIGrantPrct
public int cacheAPIGrantPrct
API grants cache occupied percentage
-
dirDBDocSize
public long dirDBDocSize
DBDoc size (Mo)
-
dirBinSize
public long dirBinSize
Recycle bin size (Mo)
-
dirExportsSize
public long dirExportsSize
Exports size (Mo)
-
dirTmpSize
public long dirTmpSize
Temp size (Mo)
-
dirIndexSize
public long dirIndexSize
Lucene Indexes size (Mo)
-
diskTotal
public long diskTotal
Total disks size (Mo)
-
diskFree
public long diskFree
Free disks space (Mo)
-
diskUsable
public long diskUsable
Usable disks size (Mo)
-
-