public abstract class HystrixCollapserProperties extends Object
HystrixCollapser
.
Default implementation of methods uses Archaius (https://github.com/Netflix/archaius)
Modifier and Type | Class and Description |
---|---|
static class |
HystrixCollapserProperties.Setter
Fluent interface that allows chained setting of properties that can be passed into a
HystrixCollapser constructor to inject instance specific property overrides. |
Modifier | Constructor and Description |
---|---|
protected |
HystrixCollapserProperties(HystrixCollapserKey collapserKey) |
protected |
HystrixCollapserProperties(HystrixCollapserKey collapserKey,
HystrixCollapserProperties.Setter builder) |
protected |
HystrixCollapserProperties(HystrixCollapserKey key,
HystrixCollapserProperties.Setter builder,
String propertyPrefix) |
Modifier and Type | Method and Description |
---|---|
static HystrixCollapserProperties.Setter |
defaultSetter()
Factory method to retrieve the default Setter.
|
HystrixProperty<Integer> |
maxRequestsInBatch()
The maximum number of requests allowed in a batch before triggering a batch execution.
|
HystrixProperty<Integer> |
metricsRollingPercentileBucketSize()
Maximum number of values stored in each bucket of the rolling percentile.
|
HystrixProperty<Boolean> |
metricsRollingPercentileEnabled()
Whether percentile metrics should be captured using
HystrixRollingPercentile inside HystrixCollapserMetrics . |
HystrixProperty<Integer> |
metricsRollingPercentileWindowBuckets()
Number of buckets the rolling percentile window is broken into.
|
HystrixProperty<Integer> |
metricsRollingPercentileWindowInMilliseconds()
Duration of percentile rolling window in milliseconds.
|
HystrixProperty<Integer> |
metricsRollingStatisticalWindowBuckets()
Number of buckets the rolling statistical window is broken into.
|
HystrixProperty<Integer> |
metricsRollingStatisticalWindowInMilliseconds()
Duration of statistical rolling window in milliseconds.
|
HystrixProperty<Boolean> |
requestCacheEnabled()
Whether request caching is enabled for
HystrixCollapser.execute() and HystrixCollapser.queue() invocations. |
HystrixProperty<Boolean> |
requestCachingEnabled()
Deprecated.
|
static HystrixCollapserProperties.Setter |
Setter()
Factory method to retrieve the default Setter.
|
HystrixProperty<Integer> |
timerDelayInMilliseconds()
The number of milliseconds between batch executions (unless
maxRequestsInBatch is hit which will cause a batch to execute early. |
protected HystrixCollapserProperties(HystrixCollapserKey collapserKey)
protected HystrixCollapserProperties(HystrixCollapserKey collapserKey, HystrixCollapserProperties.Setter builder)
protected HystrixCollapserProperties(HystrixCollapserKey key, HystrixCollapserProperties.Setter builder, String propertyPrefix)
@Deprecated public HystrixProperty<Boolean> requestCachingEnabled()
HystrixCollapser.execute()
and HystrixCollapser.queue()
invocations.
Deprecated as of 1.4.0-RC7 in favor of requestCacheEnabled() (to match HystrixCommandProperties.requestCacheEnabled()
HystrixProperty<Boolean>
public HystrixProperty<Boolean> requestCacheEnabled()
HystrixCollapser.execute()
and HystrixCollapser.queue()
invocations.HystrixProperty<Boolean>
public HystrixProperty<Integer> maxRequestsInBatch()
HystrixProperty<Integer>
public HystrixProperty<Integer> timerDelayInMilliseconds()
maxRequestsInBatch
is hit which will cause a batch to execute early.HystrixProperty<Integer>
public HystrixProperty<Integer> metricsRollingStatisticalWindowInMilliseconds()
HystrixRollingNumber
inside HystrixCommandMetrics
.HystrixProperty<Integer>
public HystrixProperty<Integer> metricsRollingStatisticalWindowBuckets()
HystrixRollingNumber
inside HystrixCollapserMetrics
.HystrixProperty<Integer>
public HystrixProperty<Boolean> metricsRollingPercentileEnabled()
HystrixRollingPercentile
inside HystrixCollapserMetrics
.HystrixProperty<Boolean>
public HystrixProperty<Integer> metricsRollingPercentileWindowInMilliseconds()
HystrixRollingPercentile
inside HystrixCollapserMetrics
.HystrixProperty<Integer>
public HystrixProperty<Integer> metricsRollingPercentileWindowBuckets()
HystrixRollingPercentile
inside HystrixCollapserMetrics
.HystrixProperty<Integer>
public HystrixProperty<Integer> metricsRollingPercentileBucketSize()
HystrixRollingPercentile
inside HystrixCollapserMetrics
.HystrixProperty<Integer>
public static HystrixCollapserProperties.Setter Setter()
public static HystrixCollapserProperties.Setter defaultSetter()
Copyright © 2016. All Rights Reserved.