Table of Contents

Class ProcessHandle

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class ProcessHandle : Comparable<ProcessHandle>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IProcessHandle, IComparable<ProcessHandle>
Inheritance
JVMBridgeBase
JVMBridgeBase<Comparable<ProcessHandle>>
ProcessHandle
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Comparable<ProcessHandle>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Comparable<ProcessHandle>>.IsAssignableFrom<T>()
JVMBridgeBase<Comparable<ProcessHandle>>.Execute<T>(params T[])
JVMBridgeBase<Comparable<ProcessHandle>>.DynBridgeClazz
JVMBridgeBase<Comparable<ProcessHandle>>.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

ProcessHandle()

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

[Obsolete("ProcessHandle class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessHandle()

ProcessHandle(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

[Obsolete("ProcessHandle class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessHandle(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

AllProcesses()

public static Stream<ProcessHandle> AllProcesses()

Returns

Stream<ProcessHandle>

Stream

Children()

public Stream<ProcessHandle> Children()

Returns

Stream<ProcessHandle>

Stream

CompareTo(ProcessHandle)

public int CompareTo(ProcessHandle arg0)

Parameters

arg0 ProcessHandle

ProcessHandle

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

Current()

public static ProcessHandle Current()

Returns

ProcessHandle

ProcessHandle

Descendants()

public Stream<ProcessHandle> Descendants()

Returns

Stream<ProcessHandle>

Stream

Destroy()

public bool Destroy()

Returns

bool

bool

DestroyForcibly()

public bool DestroyForcibly()

Returns

bool

bool

InfoMethod()

public ProcessHandle.Info InfoMethod()

Returns

ProcessHandle.Info

ProcessHandle.Info

IsAlive()

public bool IsAlive()

Returns

bool

bool

Of(long)

public static Optional<ProcessHandle> Of(long arg0)

Parameters

arg0 long

long

Returns

Optional<ProcessHandle>

Optional

OnExit()

public CompletableFuture<ProcessHandle> OnExit()

Returns

CompletableFuture<ProcessHandle>

CompletableFuture

Parent()

public Optional<ProcessHandle> Parent()

Returns

Optional<ProcessHandle>

Optional

Pid()

public long Pid()

Returns

long

long

SupportsNormalTermination()

public bool SupportsNormalTermination()

Returns

bool

bool