org.hyperic.sigar.ptql
Class PidQuery

java.lang.Object
  extended byorg.hyperic.sigar.ptql.PidQuery
All Implemented Interfaces:
ProcessQuery
Direct Known Subclasses:
PidFileQuery

public class PidQuery
extends java.lang.Object
implements ProcessQuery


Field Summary
protected  long pid
           
 
Constructor Summary
protected PidQuery()
           
  PidQuery(long pid)
           
  PidQuery(java.lang.String pid)
           
 
Method Summary
 long getPid()
           
 boolean match(SigarProxy sigar, long pid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pid

protected long pid
Constructor Detail

PidQuery

protected PidQuery()

PidQuery

public PidQuery(long pid)

PidQuery

public PidQuery(java.lang.String pid)
Method Detail

getPid

public long getPid()
            throws SigarException
Throws:
SigarException

match

public boolean match(SigarProxy sigar,
                     long pid)
              throws SigarException
Specified by:
match in interface ProcessQuery
Throws:
SigarException


Copyright © 2004-2006 Hyperic. All Rights Reserved.