public static class ThreadPoolBulkheadMetricNames.Builder
extends java.lang.Object
ThreadPoolBulkheadMetricNames.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ThreadPoolBulkheadMetricNames |
build()
Builds
ThreadPoolBulkheadMetricNames instance. |
ThreadPoolBulkheadMetricNames.Builder |
coreThreadPoolSizeMetricName(java.lang.String coreThreadPoolSizeMetricName)
Overrides the default metric name
with a given one.
|
ThreadPoolBulkheadMetricNames.Builder |
maxThreadPoolSizeMetricName(java.lang.String maxThreadPoolSizeMetricName)
Overrides the default metric name
with a given one.
|
ThreadPoolBulkheadMetricNames.Builder |
queueCapacityMetricName(java.lang.String queueCapacityMetricName)
Overrides the default metric name
with a given one.
|
ThreadPoolBulkheadMetricNames.Builder |
queueDepthMetricName(java.lang.String queueDepthMetricName)
Overrides the default metric name
with a given one.
|
ThreadPoolBulkheadMetricNames.Builder |
threadPoolSizeMetricName(java.lang.String threadPoolSizeMetricName)
Overrides the default metric name
with a given one.
|
public ThreadPoolBulkheadMetricNames.Builder queueDepthMetricName(java.lang.String queueDepthMetricName)
queueDepthMetricName - The queue depth metric name.public ThreadPoolBulkheadMetricNames.Builder threadPoolSizeMetricName(java.lang.String threadPoolSizeMetricName)
threadPoolSizeMetricName - The thread pool size metric name.public ThreadPoolBulkheadMetricNames.Builder maxThreadPoolSizeMetricName(java.lang.String maxThreadPoolSizeMetricName)
maxThreadPoolSizeMetricName - The max thread pool size metric name.public ThreadPoolBulkheadMetricNames.Builder coreThreadPoolSizeMetricName(java.lang.String coreThreadPoolSizeMetricName)
coreThreadPoolSizeMetricName - The core thread pool size metric name.public ThreadPoolBulkheadMetricNames.Builder queueCapacityMetricName(java.lang.String queueCapacityMetricName)
queueCapacityMetricName - The queue capacity metric name.public ThreadPoolBulkheadMetricNames build()
ThreadPoolBulkheadMetricNames instance.ThreadPoolBulkheadMetricNames instance.