com.p6spy.engine.common

Class P6SpyOptions

public class P6SpyOptions extends P6Options

Field Summary
static StringDRIVER_PREFIX
static StringMODULE_PREFIX
protected static OptionReloaderreloader
protected static ThreadreloadThread
Constructor Summary
P6SpyOptions()
Method Summary
static ArrayListallDriverNames()
static ArrayListallModules()
protected static voidconfigureReloadingThread()
static booleangetAppend()
static StringgetAppender()
static booleangetAutoflush()
static StringgetDateformat()
static SimpleDateFormatgetDateformatter()
static booleangetDeregisterDrivers()
static StringgetExclude()
static StringgetExcludecategories()
static longgetExecutionThreshold()
static booleangetFilter()
static StringgetInclude()
static StringgetIncludecategories()
static StringgetJNDIContextCustom()
static StringgetJNDIContextFactory()
static StringgetJNDIContextProviderURL()
static StringgetLogfile()
static StringgetRealdriver()
static StringgetRealdriver2()
static StringgetRealdriver3()
static StringgetRealDataSource()
static StringgetRealDataSourceClass()
static StringgetRealDataSourceProperties()
static booleangetReloadProperties()
static longgetReloadPropertiesInterval()
static StringgetSpydriver()
static StringgetSQLExpression()
static booleangetStackTrace()
static StringgetStackTraceClass()
static StringgetStringmatcher()
static StringMatchergetStringMatcherEngine()
static booleangetUsePrefix()
voidreload(P6SpyProperties properties)
static voidsetAppend(String _append)
static voidsetAppender(String className)
static voidsetAutoflush(String _autoflush)
static voidsetDateformat(String _dateformat)
static voidsetDeregisterDrivers(String trueOrFalse)
static voidsetExclude(String _exclude)
static voidsetExcludecategories(String _excludecategories)
static voidsetExecutionThreshold(String _executionThreshold)
static voidsetFilter(String _filter)
static voidsetInclude(String _include)
static voidsetIncludecategories(String _includecategories)
static voidsetJNDIContextCustom(String _jndicontextcustom)
static voidsetJNDIContextFactory(String _jndicontextfactory)
static voidsetJNDIContextProviderURL(String _jndicontextproviderurl)
static voidsetLogfile(String _logfile)
static voidsetRealdriver(String _realdriver)
static voidsetRealdriver2(String _realdriver2)
static voidsetRealdriver3(String _realdriver3)
static voidsetRealDataSource(String _realdatasource)
static voidsetRealDataSourceClass(String _realdatasourceclass)
static voidsetRealDataSourceProperties(String _realdatasourceproperties)
static voidsetReloadProperties(String _reloadproperties)
static voidsetReloadPropertiesInterval(String _reloadpropertiesinterval)
static voidsetSpydriver(String _spydriver)
static voidsetSQLExpression(String sqlexpression)
static voidsetStackTrace(String _stacktrace)
static voidsetStackTraceClass(String stacktraceclass)
static voidsetStringmatcher(String _stringmatcher)
static voidsetUsePrefix(String _usePrefix)

Field Detail

DRIVER_PREFIX

public static final String DRIVER_PREFIX

MODULE_PREFIX

public static final String MODULE_PREFIX

reloader

protected static OptionReloader reloader

reloadThread

protected static Thread reloadThread

Constructor Detail

P6SpyOptions

public P6SpyOptions()

Method Detail

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()

getRealdriver

public static String getRealdriver()

getRealdriver2

public static String getRealdriver2()

getRealdriver3

public static String getRealdriver3()

getRealDataSource

public static String getRealDataSource()

getRealDataSourceClass

public static String getRealDataSourceClass()

getRealDataSourceProperties

public static String getRealDataSourceProperties()

getReloadProperties

public static boolean getReloadProperties()

getReloadPropertiesInterval

public static long getReloadPropertiesInterval()

getSpydriver

public static String getSpydriver()

getSQLExpression

public static String getSQLExpression()

getStackTrace

public static boolean getStackTrace()

getStackTraceClass

public static String getStackTraceClass()

getStringmatcher

public static String getStringmatcher()

getStringMatcherEngine

public static StringMatcher getStringMatcherEngine()

getUsePrefix

public static boolean getUsePrefix()

reload

public void reload(P6SpyProperties properties)

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)

setRealdriver

public static void setRealdriver(String _realdriver)

setRealdriver2

public static void setRealdriver2(String _realdriver2)

setRealdriver3

public static void setRealdriver3(String _realdriver3)

setRealDataSource

public static void setRealDataSource(String _realdatasource)

setRealDataSourceClass

public static void setRealDataSourceClass(String _realdatasourceclass)

setRealDataSourceProperties

public static void setRealDataSourceProperties(String _realdatasourceproperties)

setReloadProperties

public static void setReloadProperties(String _reloadproperties)

setReloadPropertiesInterval

public static void setReloadPropertiesInterval(String _reloadpropertiesinterval)

setSpydriver

public static void setSpydriver(String _spydriver)

setSQLExpression

public static void setSQLExpression(String sqlexpression)

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)