public class P6LogOptions extends StandardMBean implements P6LogLoadableOptions
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
defaults |
static String |
EXCLUDE |
static String |
EXCLUDE_LIST |
static String |
EXCLUDECATEGORIES |
static String |
EXCLUDECATEGORIES_SET |
static String |
EXECUTION_THRESHOLD |
static String |
FILTER |
static String |
INCLUDE |
static String |
INCLUDE_EXCLUDE_PATTERN |
static String |
INCLUDE_LIST |
static String |
SQLEXPRESSION |
static String |
SQLEXPRESSION_PATTERN |
Constructor and Description |
---|
P6LogOptions(P6OptionsRepository optionsRepository) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public static final String EXCLUDE
public static final String INCLUDE
public static final String FILTER
public static final String EXCLUDECATEGORIES
public static final String EXECUTION_THRESHOLD
public static final String SQLEXPRESSION
public static final String INCLUDE_LIST
public static final String EXCLUDE_LIST
public static final String INCLUDE_EXCLUDE_PATTERN
public static final String EXCLUDECATEGORIES_SET
public static final String SQLEXPRESSION_PATTERN
public P6LogOptions(P6OptionsRepository optionsRepository)
public void load(Map<String,String> options)
P6LoadableOptions
load
in interface P6LoadableOptions
options
- options to be loaded.public static P6LogLoadableOptions getActiveInstance()
P6LogLoadableOptions
public Map<String,String> getDefaults()
getDefaults
in interface P6LoadableOptions
public void setExclude(String exclude)
setExclude
in interface P6LogOptionsMBean
public String getExclude()
getExclude
in interface P6LogOptionsMBean
public void setExcludecategories(String excludecategories)
setExcludecategories
in interface P6LogOptionsMBean
public String getExcludecategories()
getExcludecategories
in interface P6LogOptionsMBean
public void setFilter(String filter)
setFilter
in interface P6LogLoadableOptions
public void setFilter(boolean filter)
setFilter
in interface P6LogOptionsMBean
public boolean getFilter()
getFilter
in interface P6LogOptionsMBean
public void setInclude(String include)
setInclude
in interface P6LogOptionsMBean
public String getInclude()
getInclude
in interface P6LogOptionsMBean
public String getSQLExpression()
getSQLExpression
in interface P6LogOptionsMBean
public Pattern getSQLExpressionPattern()
getSQLExpressionPattern
in interface P6LogLoadableOptions
public void setSQLExpression(String sqlexpression)
setSQLExpression
in interface P6LogOptionsMBean
public void unSetSQLExpression()
unSetSQLExpression
in interface P6LogOptionsMBean
public void setExecutionThreshold(String executionThreshold)
setExecutionThreshold
in interface P6LogLoadableOptions
public void setExecutionThreshold(long executionThreshold)
setExecutionThreshold
in interface P6LogOptionsMBean
public long getExecutionThreshold()
getExecutionThreshold
in interface P6LogOptionsMBean
public Set<String> getIncludeList()
getIncludeList
in interface P6LogOptionsMBean
public Set<String> getExcludeList()
getExcludeList
in interface P6LogOptionsMBean
public Pattern getIncludeExcludePattern()
getIncludeExcludePattern
in interface P6LogLoadableOptions
public Set<Category> getExcludeCategoriesSet()
getExcludeCategoriesSet
in interface P6LogOptionsMBean
Copyright © 2002-2016 P6Spy. All Rights Reserved.