com.vividsolutions.jts.util
Class Memory

java.lang.Object
  extended by com.vividsolutions.jts.util.Memory

public class Memory
extends Object

Utility functions to report JVM memory usage.

Author:
mbdavis

Field Summary
static double GB
           
static double KB
           
static double MB
           
 
Constructor Summary
Memory()
           
 
Method Summary
static String allString()
           
static String format(long mem)
           
static long free()
           
static String freeString()
           
static double round(double d)
           
static long total()
           
static String totalString()
           
static long used()
           
static String usedString()
           
static String usedTotalString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KB

public static final double KB
See Also:
Constant Field Values

MB

public static final double MB
See Also:
Constant Field Values

GB

public static final double GB
See Also:
Constant Field Values
Constructor Detail

Memory

public Memory()
Method Detail

used

public static long used()

usedString

public static String usedString()

free

public static long free()

freeString

public static String freeString()

total

public static long total()

totalString

public static String totalString()

usedTotalString

public static String usedTotalString()

allString

public static String allString()

format

public static String format(long mem)

round

public static double round(double d)


Copyright © 2012. All Rights Reserved.