Class Runtime
public class Runtime : JVMBridgeBase<Runtime>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Runtime>Runtime
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Runtime>.IsAssignableFrom(IJavaType)JVMBridgeBase<Runtime>.IsAssignableFrom<T>()JVMBridgeBase<Runtime>.Execute<T>(params T[])JVMBridgeBase<Runtime>.DynBridgeClazzJVMBridgeBase<Runtime>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
GetRuntime
public static Runtime GetRuntime { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddShutdownHook(Thread)
public void AddShutdownHook(Thread arg0)
Parameters
AvailableProcessors()
public int AvailableProcessors()
Returns
Exec(String)
public Process Exec(String arg0)
Parameters
Returns
Exceptions
Exec(String, String[])
public Process Exec(String arg0, String[] arg1)
Parameters
Returns
Exceptions
Exec(String, String[], File)
public Process Exec(String arg0, String[] arg1, File arg2)
Parameters
Returns
Exceptions
Exec(String[])
public Process Exec(String[] arg0)
Parameters
Returns
Exceptions
Exec(String[], String[])
public Process Exec(String[] arg0, String[] arg1)
Parameters
Returns
Exceptions
Exec(String[], String[], File)
public Process Exec(String[] arg0, String[] arg1, File arg2)
Parameters
Returns
Exceptions
Exit(int)
public void Exit(int arg0)
Parameters
FreeMemory()
public long FreeMemory()
Returns
Gc()
public void Gc()
Halt(int)
public void Halt(int arg0)
Parameters
Load(String)
public void Load(String arg0)
Parameters
LoadLibrary(String)
public void LoadLibrary(String arg0)
Parameters
MaxMemory()
public long MaxMemory()
Returns
RemoveShutdownHook(Thread)
public bool RemoveShutdownHook(Thread arg0)
Parameters
Returns
RunFinalization()
public void RunFinalization()
TotalMemory()
public long TotalMemory()
Returns
VersionMethod()
public static Runtime.Version VersionMethod()