org.hyperic.sigar.ptql
Class ProcessQueryHelper

java.lang.Object
  extended byorg.hyperic.sigar.ptql.ProcessQueryHelper

public class ProcessQueryHelper
extends java.lang.Object


Nested Class Summary
static interface ProcessQueryHelper.StringMatcher
           
 
Constructor Summary
ProcessQueryHelper()
           
 
Method Summary
static boolean argsMatch(SigarProxy proxy, long pid, java.lang.String value, java.lang.String op)
           
static java.lang.String getProcArg(SigarProxy proxy, long pid, int num)
           
static java.lang.String getProcEnv(SigarProxy proxy, long pid, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessQueryHelper

public ProcessQueryHelper()
Method Detail

getProcEnv

public static java.lang.String getProcEnv(SigarProxy proxy,
                                          long pid,
                                          java.lang.String key)
                                   throws SigarException,
                                          SigarNotImplementedException
Throws:
SigarException
SigarNotImplementedException

getProcArg

public static java.lang.String getProcArg(SigarProxy proxy,
                                          long pid,
                                          int num)
                                   throws SigarException,
                                          SigarNotImplementedException
Throws:
SigarException
SigarNotImplementedException

argsMatch

public static boolean argsMatch(SigarProxy proxy,
                                long pid,
                                java.lang.String value,
                                java.lang.String op)
                         throws SigarException,
                                SigarNotImplementedException
Throws:
SigarException
SigarNotImplementedException


Copyright © 2004-2006 Hyperic. All Rights Reserved.