edu.nmu.os
Class OldRuntime

java.lang.Object
  |
  +--edu.nmu.system.OldRuntime
Direct Known Subclasses:
NewRuntime

public abstract class OldRuntime
extends java.lang.Object

Created by IntelliJ IDEA. User: entropy Date: Jan 23, 2003 Time: 11:18:31 AM To change this template use Options | File Templates.


Constructor Summary
OldRuntime()
           
 
Method Summary
 void addShutdownHook(java.lang.Thread hook)
           
 int availableProcessors()
           
 java.lang.Process exec(java.lang.String command)
           
 java.lang.Process exec(java.lang.String[] cmdarray)
           
 java.lang.Process exec(java.lang.String[] cmdarray, java.lang.String[] envp)
           
 java.lang.Process exec(java.lang.String[] command, java.lang.String[] envp, java.io.File dir)
           
 java.lang.Process exec(java.lang.String command, java.lang.String[] envp)
           
 java.lang.Process exec(java.lang.String command, java.lang.String[] envp, java.io.File dir)
           
 void exit(int status)
           
 long freeMemory()
           
 void gc()
           
 java.io.InputStream getLocalizedInputStream(java.io.InputStream in)
           
 java.io.OutputStream getLocalizedOutputStream(java.io.OutputStream out)
           
static OldRuntime getRuntime()
           
 void halt(int status)
           
 void load(java.lang.String filename)
           
 void loadLibrary(java.lang.String libname)
           
 long maxMemory()
           
 boolean removeShutdownHook(java.lang.Thread hook)
           
 void runFinalization()
           
 void runFinalizersOnExit(boolean value)
           
 long totalMemory()
           
 void traceInstructions(boolean on)
           
 void traceMethodCalls(boolean on)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldRuntime

public OldRuntime()
Method Detail

getRuntime

public static OldRuntime getRuntime()

addShutdownHook

public void addShutdownHook(java.lang.Thread hook)

removeShutdownHook

public boolean removeShutdownHook(java.lang.Thread hook)

halt

public void halt(int status)

runFinalizersOnExit

public void runFinalizersOnExit(boolean value)

exec

public java.lang.Process exec(java.lang.String command)
                       throws java.io.IOException
java.io.IOException

exec

public java.lang.Process exec(java.lang.String command,
                              java.lang.String[] envp)
                       throws java.io.IOException
java.io.IOException

exec

public java.lang.Process exec(java.lang.String[] cmdarray)
                       throws java.io.IOException
java.io.IOException

exec

public java.lang.Process exec(java.lang.String[] cmdarray,
                              java.lang.String[] envp)
                       throws java.io.IOException
java.io.IOException

exec

public java.lang.Process exec(java.lang.String command,
                              java.lang.String[] envp,
                              java.io.File dir)
                       throws java.io.IOException
java.io.IOException

exec

public java.lang.Process exec(java.lang.String[] command,
                              java.lang.String[] envp,
                              java.io.File dir)
                       throws java.io.IOException
java.io.IOException

runFinalization

public void runFinalization()

load

public void load(java.lang.String filename)

loadLibrary

public void loadLibrary(java.lang.String libname)

getLocalizedInputStream

public java.io.InputStream getLocalizedInputStream(java.io.InputStream in)

getLocalizedOutputStream

public java.io.OutputStream getLocalizedOutputStream(java.io.OutputStream out)

availableProcessors

public int availableProcessors()

freeMemory

public long freeMemory()

totalMemory

public long totalMemory()

maxMemory

public long maxMemory()

gc

public void gc()

traceInstructions

public void traceInstructions(boolean on)

traceMethodCalls

public void traceMethodCalls(boolean on)

exit

public void exit(int status)