public class HystrixAppmon4jMetricsPublisherCommand extends Object implements com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCommand
| Modifier and Type | Field and Description |
|---|---|
private com.netflix.hystrix.HystrixCircuitBreaker |
circuitBreaker |
private com.netflix.hystrix.HystrixCommandGroupKey |
commandGroupKey |
private CorePlugin |
corePlugin |
private com.netflix.hystrix.HystrixCommandKey |
key |
private String |
metricGroup |
private com.netflix.hystrix.HystrixCommandMetrics |
metrics |
private String |
metricType |
private com.netflix.hystrix.HystrixCommandProperties |
properties |
| Constructor and Description |
|---|
HystrixAppmon4jMetricsPublisherCommand(com.netflix.hystrix.HystrixCommandKey commandKey,
com.netflix.hystrix.HystrixCommandGroupKey commandGroupKey,
com.netflix.hystrix.HystrixCommandMetrics metrics,
com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker,
com.netflix.hystrix.HystrixCommandProperties properties,
CorePlugin corePlugin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createCumulativeCountForEvent(String name,
com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
protected String |
createMetricName(String name) |
protected void |
createRollingCountForEvent(String name,
com.netflix.hystrix.util.HystrixRollingNumberEvent event) |
void |
initialize() |
private final com.netflix.hystrix.HystrixCommandKey key
private final com.netflix.hystrix.HystrixCommandGroupKey commandGroupKey
private final com.netflix.hystrix.HystrixCommandMetrics metrics
private final com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker
private final com.netflix.hystrix.HystrixCommandProperties properties
private final String metricGroup
private final String metricType
private final CorePlugin corePlugin
public HystrixAppmon4jMetricsPublisherCommand(com.netflix.hystrix.HystrixCommandKey commandKey,
com.netflix.hystrix.HystrixCommandGroupKey commandGroupKey,
com.netflix.hystrix.HystrixCommandMetrics metrics,
com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker,
com.netflix.hystrix.HystrixCommandProperties properties,
CorePlugin corePlugin)
public void initialize()
initialize in interface com.netflix.hystrix.strategy.metrics.HystrixMetricsPublisherCommandprotected void createCumulativeCountForEvent(String name, com.netflix.hystrix.util.HystrixRollingNumberEvent event)
protected void createRollingCountForEvent(String name, com.netflix.hystrix.util.HystrixRollingNumberEvent event)
Copyright © 2014 Immobilien Scout GmbH. All Rights Reserved.