public class ProcessThread extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.ProcessThread
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Diagnostics.Process, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.Process
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.ProcessThread
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ProcessThread() |
ProcessThread(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessThread |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ProcessThread, a cast assert is made to check if types are compatible. |
int |
getBasePriority() |
int |
getCurrentPriority() |
int |
getId() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getPriorityBoostEnabled() |
ThreadPriorityLevel |
getPriorityLevel() |
TimeSpan |
getPrivilegedProcessorTime() |
DateTime |
getStartTime() |
ThreadState |
getThreadState() |
TimeSpan |
getTotalProcessorTime() |
TimeSpan |
getUserProcessorTime() |
ThreadWaitReason |
getWaitReason() |
void |
ResetIdealProcessor() |
void |
setIdealProcessor(int IdealProcessor) |
void |
setJCOInstance(JCObject instance) |
void |
setPriorityBoostEnabled(boolean PriorityBoostEnabled) |
void |
setPriorityLevel(ThreadPriorityLevel PriorityLevel) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ProcessThread()
throws java.lang.Throwable
java.lang.Throwablepublic ProcessThread(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ProcessThread cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ProcessThread, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedProcessThread instancejava.lang.Throwable - in case of error during cast operationpublic int getBasePriority()
throws java.lang.Throwable
java.lang.Throwablepublic int getCurrentPriority()
throws java.lang.Throwable
java.lang.Throwablepublic int getId()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic boolean getPriorityBoostEnabled()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic ThreadPriorityLevel getPriorityLevel() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic TimeSpan getPrivilegedProcessorTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic DateTime getStartTime() throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, Win32Exception, OverflowException
public ThreadState getThreadState() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getTotalProcessorTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic TimeSpan getUserProcessorTime() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic ThreadWaitReason getWaitReason() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void ResetIdealProcessor()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic void setIdealProcessor(int IdealProcessor)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IndexOutOfRangeException,
InvalidOperationException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionWin32Exceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setPriorityBoostEnabled(boolean PriorityBoostEnabled)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exceptionpublic void setPriorityLevel(ThreadPriorityLevel PriorityLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionWin32Exception