com.jniwrapper.win32.process.monitoring
Class ThreadEntry

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.process.monitoring.ThreadEntry
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class ThreadEntry
extends com.jniwrapper.Structure

ThreadEntry class represents THREADENTRY32 structure.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ThreadEntry()
           
 
Method Summary
 long getBasePriority()
          Returns initial priority level assigned to a thread.
 long getDeltaPrioriry()
          Returns change in the priority level of a thread.
 long getOwnerProcessID()
          Returns identifier of the process that created the thread.
 long getThreadID()
          Returns thread identifier.
 long getUsage()
          Returns number of references to the thread.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, clone, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadEntry

public ThreadEntry()
Method Detail

getUsage

public long getUsage()
Returns number of references to the thread.

Returns:
Returns number of references to the thread.

getThreadID

public long getThreadID()
Returns thread identifier.

Returns:
thread identifier.

getOwnerProcessID

public long getOwnerProcessID()
Returns identifier of the process that created the thread.

Returns:
identifier of the process that created the thread.

getBasePriority

public long getBasePriority()
Returns initial priority level assigned to a thread.

Returns:
initial priority level assigned to a thread.

getDeltaPrioriry

public long getDeltaPrioriry()
Returns change in the priority level of a thread.

Returns:
change in the priority level of a thread.