org.openprivacy.reptile.extensions
Class JVMSettings

java.lang.Object
  |
  +--org.openprivacy.reptile.extensions.JVMSettings

public class JVMSettings
extends java.lang.Object

Handles parsing out JMV runtime information, etc and providing them as an extension.

Version:
$Id: JVMSettings.java,v 1.3 2001/08/04 23:44:58 burton Exp $
Author:
Kevin A. Burton

Constructor Summary
JVMSettings()
           
 
Method Summary
 long getFreeMemory()
           
 long getTotalMemory()
           
 java.lang.String getValue(java.lang.String key)
           
 boolean hasMoreProperties()
          Return true if we have more properties to use.
 java.lang.String nextKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JVMSettings

public JVMSettings()
Method Detail

hasMoreProperties

public boolean hasMoreProperties()
Return true if we have more properties to use.


nextKey

public java.lang.String nextKey()

getValue

public java.lang.String getValue(java.lang.String key)

getTotalMemory

public long getTotalMemory()
See Also:
Runtime.totalMemory()

getFreeMemory

public long getFreeMemory()
See Also:
Runtime.freeMemory()