Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)

Uses of Class
com.lapetus_ltd.api.common.TLptsMemoryInfo

Packages that use TLptsMemoryInfo
com.lapetus_ltd.api.common This package contains the utility classes for the JUT component. 
 

Uses of TLptsMemoryInfo in com.lapetus_ltd.api.common
 

Methods in com.lapetus_ltd.api.common that return TLptsMemoryInfo
static TLptsMemoryInfo TLptsSysInfoUtil.getMemoryInfo()
          Get Application Memory Info Thread Safe : Yes Spawns its own Thread : No May Return NULL : No Notes : Example :
public void actionPerformed(ActionEvent e) { TLptsMemoryInfo mi = TLptsSysInfoUtil.getMemoryInfo(); String maxMemory = mi.getMemoryString(mi.getMaxMemoryInMb(), "#####.0000"); String totalMemory = mi.getMemoryString(mi.getTotalMemoryInMb(), "#####.0000"); String freeMemory = mi.getMemoryString(mi.getFreeMemoryInMb(), "#####.0000"); Timestamp dateTime = new Timestamp(mi.getTime()); //Or String time = mi.getTimeString(); } Result:63,5625 4,9375 4,3906 2010-07-08 10:58:55.493 10:58:55.493
 



Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)