public abstract class HystrixCollapserProperties
extends java.lang.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,
java.lang.String propertyPrefix) |
| Modifier and Type | Method and Description |
|---|---|
static HystrixCollapserProperties.Setter |
defaultSetter()
Factory method to retrieve the default Setter.
|
HystrixProperty<java.lang.Integer> |
maxRequestsInBatch()
The maximum number of requests allowed in a batch before triggering a batch execution.
|
HystrixProperty<java.lang.Integer> |
metricsRollingPercentileBucketSize()
Maximum number of values stored in each bucket of the rolling percentile.
|
HystrixProperty<java.lang.Boolean> |
metricsRollingPercentileEnabled()
Whether percentile metrics should be captured using
HystrixRollingPercentile inside HystrixCollapserMetrics. |
HystrixProperty<java.lang.Integer> |
metricsRollingPercentileWindowBuckets()
Number of buckets the rolling percentile window is broken into.
|
HystrixProperty<java.lang.Integer> |
metricsRollingPercentileWindowInMilliseconds()
Duration of percentile rolling window in milliseconds.
|
HystrixProperty<java.lang.Integer> |
metricsRollingStatisticalWindowBuckets()
Number of buckets the rolling statistical window is broken into.
|
HystrixProperty<java.lang.Integer> |
metricsRollingStatisticalWindowInMilliseconds()
Duration of statistical rolling window in milliseconds.
|
HystrixProperty<java.lang.Boolean> |
requestCacheEnabled()
Whether request caching is enabled for
HystrixCollapser.execute() and HystrixCollapser.queue() invocations. |
HystrixProperty<java.lang.Boolean> |
requestCachingEnabled()
Deprecated.
|
static HystrixCollapserProperties.Setter |
Setter()
Factory method to retrieve the default Setter.
|
HystrixProperty<java.lang.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, java.lang.String propertyPrefix)
@Deprecated public HystrixProperty<java.lang.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<java.lang.Boolean> requestCacheEnabled()
HystrixCollapser.execute() and HystrixCollapser.queue() invocations.HystrixProperty<Boolean>public HystrixProperty<java.lang.Integer> maxRequestsInBatch()
HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> timerDelayInMilliseconds()
maxRequestsInBatch is hit which will cause a batch to execute early.HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> metricsRollingStatisticalWindowInMilliseconds()
HystrixRollingNumber inside HystrixCommandMetrics.HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> metricsRollingStatisticalWindowBuckets()
HystrixRollingNumber inside HystrixCollapserMetrics.HystrixProperty<Integer>public HystrixProperty<java.lang.Boolean> metricsRollingPercentileEnabled()
HystrixRollingPercentile inside HystrixCollapserMetrics.HystrixProperty<Boolean>public HystrixProperty<java.lang.Integer> metricsRollingPercentileWindowInMilliseconds()
HystrixRollingPercentile inside HystrixCollapserMetrics.HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> metricsRollingPercentileWindowBuckets()
HystrixRollingPercentile inside HystrixCollapserMetrics.HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> metricsRollingPercentileBucketSize()
HystrixRollingPercentile inside HystrixCollapserMetrics.HystrixProperty<Integer>public static HystrixCollapserProperties.Setter Setter()
public static HystrixCollapserProperties.Setter defaultSetter()