com.jniwrapper.win32.process.monitoring
Class HeapEntry

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

public class HeapEntry
extends com.jniwrapper.Structure

The HeapEntry class represents the HEAPENTRY32 structure.


Field Summary
static int LF32_FIXED
          The memory block has a fixed (unmovable) location.
static int LF32_FREE
          The memory block is not used.
static int LF32_MOVEABLE
          The memory block location can be moved.
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
HeapEntry()
           
 
Method Summary
 long getAddress()
          Linear address of the start of the block.
 long getBlockSize()
          Size of the heap block, in bytes.
 java.lang.String getDebugInfo()
           
 long getFlags()
          Flags.
 Handle getHandle()
          Handle to the heap block.
 long getHeapID()
          Heap identifier in the owning process context.
 long getLockCount()
          Lock count on the memory block.
 long getProcessID()
          Identifier of the process to be examined.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, clone, computeLength, equals, getAlignmentRequirement, 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
 

Field Detail

LF32_FIXED

public static final int LF32_FIXED
The memory block has a fixed (unmovable) location.

See Also:
Constant Field Values

LF32_FREE

public static final int LF32_FREE
The memory block is not used.

See Also:
Constant Field Values

LF32_MOVEABLE

public static final int LF32_MOVEABLE
The memory block location can be moved.

See Also:
Constant Field Values
Constructor Detail

HeapEntry

public HeapEntry()
Method Detail

getHandle

public Handle getHandle()
Handle to the heap block.

Returns:
Handle to the heap block.

getAddress

public long getAddress()
Linear address of the start of the block.

Returns:
Linear address of the start of the block.

getBlockSize

public long getBlockSize()
Size of the heap block, in bytes.

Returns:
Size of the heap block, in bytes.

getFlags

public long getFlags()
Flags. These values are defined as LF32_FIXED, LF32_FREE, LF32_MOVEABLE

Returns:
Flags.

getLockCount

public long getLockCount()
Lock count on the memory block.

Returns:
Lock count on the memory block.

getProcessID

public long getProcessID()
Identifier of the process to be examined.

Returns:
Identifier of the process to be examined.

getHeapID

public long getHeapID()
Heap identifier in the owning process context.

Returns:
Heap identifier in the owning process context.

getDebugInfo

public java.lang.String getDebugInfo()
Overrides:
getDebugInfo in class com.jniwrapper.Structure