com.jniwrapper.win32.process.monitoring
Class Snapshot.Options

java.lang.Object
  extended by com.jniwrapper.util.FlagSet
      extended by com.jniwrapper.win32.process.monitoring.Snapshot.Options
Enclosing class:
Snapshot

public static class Snapshot.Options
extends com.jniwrapper.util.FlagSet

Options class represents options for taking a performance snapshots.


Constructor Summary
Snapshot.Options()
           
Snapshot.Options(boolean snapAll)
           
Snapshot.Options(long flags)
           
 
Method Summary
 boolean isInherit()
           
 boolean isSnapAll()
           
 boolean isSnapHeapList()
           
 boolean isSnapModule()
           
 boolean isSnapProcess()
           
 boolean isSnapThread()
           
 void setInherit(boolean set)
          Specifies whether a snapshot is to be inheritable.
 void setSnapAll(boolean set)
          Specifies whether to include all processes and threads in the system.
 void setSnapHeapList(boolean set)
          Specifies whether to include all heaps of the process specified in the snapshot.
 void setSnapModule(boolean set)
          Specifies whether to include all modules of the process specified in the snapshot.
 void setSnapProcess(boolean set)
          Specifies whether to include all processes in the system in the snapshot.
 void setSnapThread(boolean set)
          Specifies whether to include all threads in the system in the snapshot.
 
Methods inherited from class com.jniwrapper.util.FlagSet
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Snapshot.Options

public Snapshot.Options()

Snapshot.Options

public Snapshot.Options(long flags)

Snapshot.Options

public Snapshot.Options(boolean snapAll)
Method Detail

setSnapHeapList

public void setSnapHeapList(boolean set)
Specifies whether to include all heaps of the process specified in the snapshot.

Parameters:
set -

isSnapHeapList

public boolean isSnapHeapList()

setSnapProcess

public void setSnapProcess(boolean set)
Specifies whether to include all processes in the system in the snapshot.

Parameters:
set -

isSnapProcess

public boolean isSnapProcess()

setSnapThread

public void setSnapThread(boolean set)
Specifies whether to include all threads in the system in the snapshot.

Parameters:
set -

isSnapThread

public boolean isSnapThread()

setSnapModule

public void setSnapModule(boolean set)
Specifies whether to include all modules of the process specified in the snapshot.

Parameters:
set -

isSnapModule

public boolean isSnapModule()

setInherit

public void setInherit(boolean set)
Specifies whether a snapshot is to be inheritable.

Parameters:
set -

isInherit

public boolean isInherit()

setSnapAll

public void setSnapAll(boolean set)
Specifies whether to include all processes and threads in the system.

Parameters:
set -

isSnapAll

public boolean isSnapAll()