| 构造器和说明 |
|---|
ThreadPoolMetric(String applicationName,
String threadPoolName,
ThreadPoolExecutor threadPoolExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
double |
getActiveCount() |
String |
getApplicationName() |
double |
getCorePoolSize() |
double |
getLargestPoolSize() |
double |
getMaximumPoolSize() |
double |
getPoolSize() |
double |
getQueueSize() |
Map<String,String> |
getTags() |
ThreadPoolExecutor |
getThreadPoolExecutor() |
String |
getThreadPoolName() |
int |
hashCode() |
void |
setApplicationName(String applicationName) |
void |
setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) |
void |
setThreadPoolName(String threadPoolName) |
public ThreadPoolMetric(String applicationName, String threadPoolName, ThreadPoolExecutor threadPoolExecutor)
public String getThreadPoolName()
public void setThreadPoolName(String threadPoolName)
public ThreadPoolExecutor getThreadPoolExecutor()
public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
public String getApplicationName()
public void setApplicationName(String applicationName)
public double getCorePoolSize()
public double getLargestPoolSize()
public double getMaximumPoolSize()
public double getActiveCount()
public double getPoolSize()
public double getQueueSize()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.