com.sun.jimi.core
Class VMMControl

java.lang.Object
  |
  +--com.sun.jimi.core.VMMControl

public class VMMControl
extends java.lang.Object

Virtual Memory Management (VMM) control interface, allowing configuration of VMM features.


Field Summary
protected static java.io.File directory
           
protected static int threshold
           
 
Constructor Summary
protected VMMControl()
           
 
Method Summary
static java.io.File getDirectory()
           
static void setDirectory(java.io.File directory)
           
static void setDirectory(java.lang.String filename)
           
static void setVMMThreshold(int size)
          Set the size in bytes at which VMM is used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threshold

protected static int threshold

directory

protected static java.io.File directory
Constructor Detail

VMMControl

protected VMMControl()
Method Detail

setDirectory

public static void setDirectory(java.lang.String filename)
                         throws java.io.IOException

setDirectory

public static void setDirectory(java.io.File directory)

setVMMThreshold

public static void setVMMThreshold(int size)
Set the size in bytes at which VMM is used. Images which require less memory than this theshold will use in-memory storage.
The default threshold is 1 megabyte.

getDirectory

public static java.io.File getDirectory()