public class MonitorClient extends Object
| 构造器和说明 |
|---|
MonitorClient() |
public void configFromPropety(Properties properties)
public void stop()
public void start()
public ScheduledExecutorService getScheduler()
public void setScheduler(ScheduledExecutorService scheduler)
public void checkInst()
public void collectSql()
public List<JdbcSqlStatValue> loadSqlList(Map<String,Object> filters)
public MonitorDao getDao()
public void setDao(MonitorDao dao)
public long getTimeBeetweenSqlCollect()
public void setTimeBeetweenSqlCollect(long timeBeetweenSqlCollect)
public long getTimeBeetweenSpringCollect()
public void setTimeBeetweenSpringCollect(long timeBeetweenSpringCollect)
public long getTimeBeetweenWebUriCollect()
public void setTimeBeetweenWebUriCollect(long timeBeetweenWebUriCollect)
public TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
public boolean isCollectSqlEnable()
public void setCollectSqlEnable(boolean collectSqlEnable)
public boolean isCollectSqlWallEnable()
public void setCollectSqlWallEnable(boolean collectSqlWallEnable)
public boolean isCollectSpringMethodEanble()
public void setCollectSpringMethodEanble(boolean collectSpringMethodEanble)
public boolean isCollectWebAppEanble()
public void setCollectWebAppEanble(boolean collectWebAppEanble)
public boolean isCollectWebURIEnable()
public void setCollectWebURIEnable(boolean collectWebURIEnable)
public int getSchedulerThreadSize()
public void setSchedulerThreadSize(int schedulerThreadSize)
public String getDomain()
public void setDomain(String domain)
public String getApp()
public void setApp(String app)
public String getCluster()
public void setCluster(String cluster)
public String getHost()
public void setHost(String host)
public int getPid()
public void setPid(int pid)
public static InetAddress getLocalIPAddress()
Copyright © 2013 Alibaba Group. All Rights Reserved.