public class DruidDataSourceStatManager extends Object implements DruidDataSourceStatManagerMBean
限定符和类型 | 字段和说明 |
---|---|
static String |
SYS_PROP_INSTANCES |
构造器和说明 |
---|
DruidDataSourceStatManager() |
限定符和类型 | 方法和说明 |
---|---|
static ObjectName |
addDataSource(Object dataSource,
String name) |
static void |
cear() |
CompositeDataSupport |
getCompositeData(Object dataSource) |
TabularData |
getDataSourceList() |
static CompositeType |
getDruidDataSourceCompositeType() |
static Set<DruidDataSource> |
getDruidDataSourceInstances() |
static DruidDataSourceStatManager |
getInstance() |
static IdentityHashMap<Object,ObjectName> |
getInstances() |
long |
getResetCount() |
static void |
removeDataSource(Object dataSource) |
void |
reset() |
public static DruidDataSourceStatManager getInstance()
public static void cear()
public static IdentityHashMap<Object,ObjectName> getInstances()
public static ObjectName addDataSource(Object dataSource, String name)
public static void removeDataSource(Object dataSource)
public static Set<DruidDataSource> getDruidDataSourceInstances()
public void reset()
reset
在接口中 DruidDataSourceStatManagerMBean
public long getResetCount()
getResetCount
在接口中 DruidDataSourceStatManagerMBean
public TabularData getDataSourceList() throws JMException
getDataSourceList
在接口中 DruidDataSourceStatManagerMBean
JMException
public CompositeDataSupport getCompositeData(Object dataSource) throws JMException
JMException
public static CompositeType getDruidDataSourceCompositeType() throws JMException
JMException
Copyright © 2012 Alibaba Group. All Rights Reserved.