Table of Contents

Class Runtime

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Runtime : JVMBridgeBase<Runtime>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Runtime>
Runtime
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Runtime>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Runtime>.IsAssignableFrom<T>()
JVMBridgeBase<Runtime>.Execute<T>(params T[])
JVMBridgeBase<Runtime>.DynBridgeClazz
JVMBridgeBase<Runtime>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Runtime()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Runtime()

Runtime(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Runtime(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

GetRuntime

public static Runtime GetRuntime { get; }

Property Value

Runtime

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddShutdownHook(Thread)

public void AddShutdownHook(Thread arg0)

Parameters

arg0 Thread

Thread

AvailableProcessors()

public int AvailableProcessors()

Returns

int

int

Exec(String)

public Process Exec(String arg0)

Parameters

arg0 String

String

Returns

Process

Process

Exceptions

IOException

Exec(String, String[])

public Process Exec(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

Process

Process

Exceptions

IOException

Exec(String, String[], File)

public Process Exec(String arg0, String[] arg1, File arg2)

Parameters

arg0 String

String

arg1 String[]

String

arg2 File

File

Returns

Process

Process

Exceptions

IOException

Exec(String[])

public Process Exec(String[] arg0)

Parameters

arg0 String[]

String

Returns

Process

Process

Exceptions

IOException

Exec(String[], String[])

public Process Exec(String[] arg0, String[] arg1)

Parameters

arg0 String[]

String

arg1 String[]

String

Returns

Process

Process

Exceptions

IOException

Exec(String[], String[], File)

public Process Exec(String[] arg0, String[] arg1, File arg2)

Parameters

arg0 String[]

String

arg1 String[]

String

arg2 File

File

Returns

Process

Process

Exceptions

IOException

Exit(int)

public void Exit(int arg0)

Parameters

arg0 int

int

FreeMemory()

public long FreeMemory()

Returns

long

long

Gc()

public void Gc()

Halt(int)

public void Halt(int arg0)

Parameters

arg0 int

int

Load(String)

public void Load(String arg0)

Parameters

arg0 String

String

LoadLibrary(String)

public void LoadLibrary(String arg0)

Parameters

arg0 String

String

MaxMemory()

public long MaxMemory()

Returns

long

long

RemoveShutdownHook(Thread)

public bool RemoveShutdownHook(Thread arg0)

Parameters

arg0 Thread

Thread

Returns

bool

bool

RunFinalization()

public void RunFinalization()

TotalMemory()

public long TotalMemory()

Returns

long

long

VersionMethod()

public static Runtime.Version VersionMethod()

Returns

Runtime.Version

Runtime.Version