com.p6spy.engine.common

Class P6SpyOptions


public class P6SpyOptions
extends P6Options

Field Summary

static String
DRIVER_PREFIX
static String
MODULE_PREFIX
protected static Thread
reloadThread
protected static OptionReloader
reloader

Constructor Summary

P6SpyOptions()

Method Summary

static ArrayList
allDriverNames()
static ArrayList
allModules()
protected static void
configureReloadingThread()
static boolean
getAppend()
static String
getAppender()
static boolean
getAutoflush()
static String
getDateformat()
static SimpleDateFormat
getDateformatter()
static boolean
getDeregisterDrivers()
static String
getExclude()
static String
getExcludecategories()
static long
getExecutionThreshold()
static boolean
getFilter()
static String
getInclude()
static String
getIncludecategories()
static String
getJNDIContextCustom()
static String
getJNDIContextFactory()
static String
getJNDIContextProviderURL()
static String
getLogfile()
static String
getRealDataSource()
static String
getRealDataSourceClass()
static String
getRealDataSourceProperties()
static String
getRealdriver()
static String
getRealdriver2()
static String
getRealdriver3()
static boolean
getReloadProperties()
static long
getReloadPropertiesInterval()
static String
getSQLExpression()
static String
getSpydriver()
static boolean
getStackTrace()
static String
getStackTraceClass()
static StringMatcher
getStringMatcherEngine()
static String
getStringmatcher()
static boolean
getUsePrefix()
void
reload(P6SpyProperties properties)
static void
setAppend(String _append)
static void
setAppender(String className)
static void
setAutoflush(String _autoflush)
static void
setDateformat(String _dateformat)
static void
setDeregisterDrivers(String trueOrFalse)
static void
setExclude(String _exclude)
static void
setExcludecategories(String _excludecategories)
static void
setExecutionThreshold(String _executionThreshold)
static void
setFilter(String _filter)
static void
setInclude(String _include)
static void
setIncludecategories(String _includecategories)
static void
setJNDIContextCustom(String _jndicontextcustom)
static void
setJNDIContextFactory(String _jndicontextfactory)
static void
setJNDIContextProviderURL(String _jndicontextproviderurl)
static void
setLogfile(String _logfile)
static void
setRealDataSource(String _realdatasource)
static void
setRealDataSourceClass(String _realdatasourceclass)
static void
setRealDataSourceProperties(String _realdatasourceproperties)
static void
setRealdriver(String _realdriver)
static void
setRealdriver2(String _realdriver2)
static void
setRealdriver3(String _realdriver3)
static void
setReloadProperties(String _reloadproperties)
static void
setReloadPropertiesInterval(String _reloadpropertiesinterval)
static void
setSQLExpression(String sqlexpression)
static void
setSpydriver(String _spydriver)
static void
setStackTrace(String _stacktrace)
static void
setStackTraceClass(String stacktraceclass)
static void
setStringmatcher(String _stringmatcher)
static void
setUsePrefix(String _usePrefix)

Methods inherited from class com.p6spy.engine.common.P6Options

reload

Field Details

DRIVER_PREFIX

public static final String DRIVER_PREFIX


MODULE_PREFIX

public static final String MODULE_PREFIX


reloadThread

protected static Thread reloadThread


reloader

protected static OptionReloader reloader

Constructor Details

P6SpyOptions

public P6SpyOptions()

Method Details

allDriverNames

public static ArrayList allDriverNames()


allModules

public static ArrayList allModules()


configureReloadingThread

protected static void configureReloadingThread()


getAppend

public static boolean getAppend()


getAppender

public static String getAppender()


getAutoflush

public static boolean getAutoflush()


getDateformat

public static String getDateformat()


getDateformatter

public static SimpleDateFormat getDateformatter()


getDeregisterDrivers

public static boolean getDeregisterDrivers()


getExclude

public static String getExclude()


getExcludecategories

public static String getExcludecategories()


getExecutionThreshold

public static long getExecutionThreshold()


getFilter

public static boolean getFilter()


getInclude

public static String getInclude()


getIncludecategories

public static String getIncludecategories()


getJNDIContextCustom

public static String getJNDIContextCustom()


getJNDIContextFactory

public static String getJNDIContextFactory()


getJNDIContextProviderURL

public static String getJNDIContextProviderURL()


getLogfile

public static String getLogfile()


getRealDataSource

public static String getRealDataSource()


getRealDataSourceClass

public static String getRealDataSourceClass()


getRealDataSourceProperties

public static String getRealDataSourceProperties()


getRealdriver

public static String getRealdriver()


getRealdriver2

public static String getRealdriver2()


getRealdriver3

public static String getRealdriver3()


getReloadProperties

public static boolean getReloadProperties()


getReloadPropertiesInterval

public static long getReloadPropertiesInterval()


getSQLExpression

public static String getSQLExpression()


getSpydriver

public static String getSpydriver()


getStackTrace

public static boolean getStackTrace()


getStackTraceClass

public static String getStackTraceClass()


getStringMatcherEngine

public static StringMatcher getStringMatcherEngine()


getStringmatcher

public static String getStringmatcher()


getUsePrefix

public static boolean getUsePrefix()


reload

public void reload(P6SpyProperties properties)
Overrides:
reload in interface P6Options


setAppend

public static void setAppend(String _append)


setAppender

public static void setAppender(String className)


setAutoflush

public static void setAutoflush(String _autoflush)


setDateformat

public static void setDateformat(String _dateformat)


setDeregisterDrivers

public static void setDeregisterDrivers(String trueOrFalse)


setExclude

public static void setExclude(String _exclude)


setExcludecategories

public static void setExcludecategories(String _excludecategories)


setExecutionThreshold

public static void setExecutionThreshold(String _executionThreshold)


setFilter

public static void setFilter(String _filter)


setInclude

public static void setInclude(String _include)


setIncludecategories

public static void setIncludecategories(String _includecategories)


setJNDIContextCustom

public static void setJNDIContextCustom(String _jndicontextcustom)


setJNDIContextFactory

public static void setJNDIContextFactory(String _jndicontextfactory)


setJNDIContextProviderURL

public static void setJNDIContextProviderURL(String _jndicontextproviderurl)


setLogfile

public static void setLogfile(String _logfile)


setRealDataSource

public static void setRealDataSource(String _realdatasource)


setRealDataSourceClass

public static void setRealDataSourceClass(String _realdatasourceclass)


setRealDataSourceProperties

public static void setRealDataSourceProperties(String _realdatasourceproperties)


setRealdriver

public static void setRealdriver(String _realdriver)


setRealdriver2

public static void setRealdriver2(String _realdriver2)


setRealdriver3

public static void setRealdriver3(String _realdriver3)


setReloadProperties

public static void setReloadProperties(String _reloadproperties)


setReloadPropertiesInterval

public static void setReloadPropertiesInterval(String _reloadpropertiesinterval)


setSQLExpression

public static void setSQLExpression(String sqlexpression)


setSpydriver

public static void setSpydriver(String _spydriver)


setStackTrace

public static void setStackTrace(String _stacktrace)


setStackTraceClass

public static void setStackTraceClass(String stacktraceclass)


setStringmatcher

public static void setStringmatcher(String _stringmatcher)


setUsePrefix

public static void setUsePrefix(String _usePrefix)