com.p6spy.engine.common
Class P6SpyOptions

java.lang.Object
  |
  +--com.p6spy.engine.common.P6SpyOptions

public class P6SpyOptions
extends java.lang.Object


Field Summary
protected static long lastCheck
           
static java.lang.String SPY_PROPERTIES_FILE
           
 
Constructor Summary
P6SpyOptions()
           
 
Method Summary
static java.util.ArrayList allModules()
           
static void checkReload()
           
static java.lang.String dynamicGet(java.lang.String property)
           
static java.util.Collection dynamicGetOptions()
           
static void dynamicSet(java.lang.String property, java.lang.String value)
           
static boolean getAppend()
           
static boolean getAutoflush()
           
static boolean getCache()
           
static boolean getCachetrace()
           
static java.lang.String getClearcache()
           
static java.lang.String getDateformat()
           
static java.text.SimpleDateFormat getDateformatter()
           
static java.lang.String getEntries()
           
static java.lang.String getExclude()
           
static java.lang.String getExcludecategories()
           
static boolean getFilter()
           
static java.lang.String getForms()
           
static java.lang.String getFormsfile()
           
static java.lang.String getFormslog()
           
static boolean getFormstrace()
           
static java.lang.String getInclude()
           
static java.lang.String getIncludecategories()
           
static java.lang.String getLogfile()
           
static boolean getOutageDetection()
           
static long getOutageDetectionInterval()
           
static long getOutageDetectionIntervalMS()
           
static java.lang.String getProperties()
           
static java.lang.String getRealdriver()
           
static java.lang.String getRealdriver2()
           
static java.lang.String getRealdriver3()
           
static boolean getReloadProperties()
           
static long getReloadPropertiesInterval()
           
static java.lang.String getSpydriver()
           
static java.lang.String getSQLExpression()
           
static boolean getStackTrace()
           
static java.lang.String getStackTraceClass()
           
static java.lang.String getStringmatcher()
           
static StringMatcher getStringMatcherEngine()
           
static boolean getTrace()
           
static boolean getUsePrefix()
           
static void initMethod()
           
static void reloadProperties()
           
static void setAppend(java.lang.String _append)
           
static void setAutoflush(java.lang.String _autoflush)
           
static void setCache(java.lang.String _cache)
           
static void setCachetrace(java.lang.String _cachetrace)
           
static void setClearcache(java.lang.String _clearcache)
           
static void setDateformat(java.lang.String _dateformat)
           
static void setEntries(java.lang.String _entries)
           
static void setExclude(java.lang.String _exclude)
           
static void setExcludecategories(java.lang.String _excludecategories)
           
static void setFilter(java.lang.String _filter)
           
static void setForms(java.lang.String _forms)
           
static void setFormsfile(java.lang.String _formsfile)
           
static void setFormslog(java.lang.String _formslog)
           
static void setFormstrace(java.lang.String _formstrace)
           
static void setInclude(java.lang.String _include)
           
static void setIncludecategories(java.lang.String _includecategories)
           
static void setLogfile(java.lang.String _logfile)
           
static void setOutageDetection(java.lang.String _outagedetection)
           
static void setOutageDetectionInterval(java.lang.String _outagedetectioninterval)
           
static void setProperties(java.lang.String _properties)
           
static void setRealdriver(java.lang.String _realdriver)
           
static void setRealdriver2(java.lang.String _realdriver2)
           
static void setRealdriver3(java.lang.String _realdriver3)
           
static void setReloadProperties(java.lang.String _reloadproperties)
           
static void setReloadPropertiesInterval(java.lang.String _reloadpropertiesinterval)
           
static void setSpydriver(java.lang.String _spydriver)
           
static void setSQLExpression(java.lang.String sqlexpression)
           
static void setStackTrace(java.lang.String _stacktrace)
           
static void setStackTraceClass(java.lang.String stacktraceclass)
           
static void setStringmatcher(java.lang.String _stringmatcher)
           
static void setTrace(java.lang.String _trace)
           
static void setUsePrefix(java.lang.String _usePrefix)
           
static void setValues(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPY_PROPERTIES_FILE

public static java.lang.String SPY_PROPERTIES_FILE

lastCheck

protected static long lastCheck
Constructor Detail

P6SpyOptions

public P6SpyOptions()
Method Detail

setUsePrefix

public static void setUsePrefix(java.lang.String _usePrefix)

getUsePrefix

public static boolean getUsePrefix()

setAutoflush

public static void setAutoflush(java.lang.String _autoflush)

getAutoflush

public static boolean getAutoflush()

setExclude

public static void setExclude(java.lang.String _exclude)

getExclude

public static java.lang.String getExclude()

setExcludecategories

public static void setExcludecategories(java.lang.String _excludecategories)

getExcludecategories

public static java.lang.String getExcludecategories()

setFilter

public static void setFilter(java.lang.String _filter)

getFilter

public static boolean getFilter()

setInclude

public static void setInclude(java.lang.String _include)

getInclude

public static java.lang.String getInclude()

setIncludecategories

public static void setIncludecategories(java.lang.String _includecategories)

getIncludecategories

public static java.lang.String getIncludecategories()

setLogfile

public static void setLogfile(java.lang.String _logfile)

getLogfile

public static java.lang.String getLogfile()

setRealdriver

public static void setRealdriver(java.lang.String _realdriver)

getRealdriver

public static java.lang.String getRealdriver()

setRealdriver2

public static void setRealdriver2(java.lang.String _realdriver2)

getRealdriver2

public static java.lang.String getRealdriver2()

setRealdriver3

public static void setRealdriver3(java.lang.String _realdriver3)

getRealdriver3

public static java.lang.String getRealdriver3()

setAppend

public static void setAppend(java.lang.String _append)

getAppend

public static boolean getAppend()

setSpydriver

public static void setSpydriver(java.lang.String _spydriver)

getSpydriver

public static java.lang.String getSpydriver()

setTrace

public static void setTrace(java.lang.String _trace)

getTrace

public static boolean getTrace()

setProperties

public static void setProperties(java.lang.String _properties)

getProperties

public static java.lang.String getProperties()

setDateformat

public static void setDateformat(java.lang.String _dateformat)

getDateformat

public static java.lang.String getDateformat()

getDateformatter

public static java.text.SimpleDateFormat getDateformatter()

setStringmatcher

public static void setStringmatcher(java.lang.String _stringmatcher)

getStringmatcher

public static java.lang.String getStringmatcher()

getStringMatcherEngine

public static StringMatcher getStringMatcherEngine()

getStackTrace

public static boolean getStackTrace()

setStackTrace

public static void setStackTrace(java.lang.String _stacktrace)

getStackTraceClass

public static java.lang.String getStackTraceClass()

setStackTraceClass

public static void setStackTraceClass(java.lang.String stacktraceclass)

getSQLExpression

public static java.lang.String getSQLExpression()

setSQLExpression

public static void setSQLExpression(java.lang.String sqlexpression)

getReloadProperties

public static boolean getReloadProperties()

setReloadProperties

public static void setReloadProperties(java.lang.String _reloadproperties)

getReloadPropertiesInterval

public static long getReloadPropertiesInterval()

setReloadPropertiesInterval

public static void setReloadPropertiesInterval(java.lang.String _reloadpropertiesinterval)

getOutageDetection

public static boolean getOutageDetection()

setOutageDetection

public static void setOutageDetection(java.lang.String _outagedetection)

getOutageDetectionInterval

public static long getOutageDetectionInterval()

getOutageDetectionIntervalMS

public static long getOutageDetectionIntervalMS()

setOutageDetectionInterval

public static void setOutageDetectionInterval(java.lang.String _outagedetectioninterval)

setCache

public static void setCache(java.lang.String _cache)

getCache

public static boolean getCache()

setCachetrace

public static void setCachetrace(java.lang.String _cachetrace)

getCachetrace

public static boolean getCachetrace()

setClearcache

public static void setClearcache(java.lang.String _clearcache)

getClearcache

public static java.lang.String getClearcache()

setEntries

public static void setEntries(java.lang.String _entries)

getEntries

public static java.lang.String getEntries()

setForms

public static void setForms(java.lang.String _forms)

getForms

public static java.lang.String getForms()

setFormsfile

public static void setFormsfile(java.lang.String _formsfile)

getFormsfile

public static java.lang.String getFormsfile()

setFormslog

public static void setFormslog(java.lang.String _formslog)

getFormslog

public static java.lang.String getFormslog()

setFormstrace

public static void setFormstrace(java.lang.String _formstrace)

getFormstrace

public static boolean getFormstrace()

initMethod

public static void initMethod()

reloadProperties

public static void reloadProperties()

checkReload

public static void checkReload()

setValues

public static void setValues(java.lang.String filename)

allModules

public static java.util.ArrayList allModules()

dynamicSet

public static void dynamicSet(java.lang.String property,
                              java.lang.String value)

dynamicGet

public static java.lang.String dynamicGet(java.lang.String property)

dynamicGetOptions

public static java.util.Collection dynamicGetOptions()