Package org.apache.dubbo.metrics.model
Class ThreadPoolMetric
java.lang.Object
org.apache.dubbo.metrics.model.ThreadPoolMetric
- All Implemented Interfaces:
Metric
-
Constructor Summary
ConstructorsConstructorDescriptionThreadPoolMetric(String applicationName, String threadPoolName, ThreadPoolExecutor threadPoolExecutor) -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubledoubledoubledoubledoubledoublegetTags()inthashCode()voidsetApplicationName(String applicationName) voidsetThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) voidsetThreadPoolName(String threadPoolName)
-
Constructor Details
-
ThreadPoolMetric
public ThreadPoolMetric(String applicationName, String threadPoolName, ThreadPoolExecutor threadPoolExecutor)
-
-
Method Details
-
getThreadPoolName
-
setThreadPoolName
-
getThreadPoolExecutor
-
setThreadPoolExecutor
-
getApplicationName
-
setApplicationName
-
equals
-
hashCode
public int hashCode() -
getTags
-
getCorePoolSize
public double getCorePoolSize() -
getLargestPoolSize
public double getLargestPoolSize() -
getMaximumPoolSize
public double getMaximumPoolSize() -
getActiveCount
public double getActiveCount() -
getPoolSize
public double getPoolSize() -
getQueueSize
public double getQueueSize()
-