
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.hystrix.HystrixCollapserProperties
public abstract class HystrixCollapserProperties
Properties for instances of HystrixCollapser.
Default implementation of methods uses Archaius (https://github.com/Netflix/archaius)
| Nested Class Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
HystrixCollapserProperties(HystrixCollapserKey collapserKey)
|
protected |
HystrixCollapserProperties(HystrixCollapserKey collapserKey,
HystrixCollapserProperties.Setter builder)
|
protected |
HystrixCollapserProperties(HystrixCollapserKey key,
HystrixCollapserProperties.Setter builder,
java.lang.String propertyPrefix)
|
| Method Summary | |
|---|---|
HystrixProperty<java.lang.Integer> |
maxRequestsInBatch()
The maximum number of requests allowed in a batch before triggering a batch execution. |
HystrixProperty<java.lang.Boolean> |
requestCachingEnabled()
Whether request caching is enabled for HystrixCollapser.execute() and HystrixCollapser.queue() invocations. |
static HystrixCollapserProperties.Setter |
Setter()
Factory method to retrieve the default Setter. |
HystrixProperty<java.lang.Integer> |
timerDelayInMilliseconds()
The number of milliseconds between batch executions (unless HystrixCollapserProperties.maxRequestsInBatch is hit which will cause a batch to execute early. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HystrixCollapserProperties(HystrixCollapserKey collapserKey)
protected HystrixCollapserProperties(HystrixCollapserKey collapserKey,
HystrixCollapserProperties.Setter builder)
protected HystrixCollapserProperties(HystrixCollapserKey key,
HystrixCollapserProperties.Setter builder,
java.lang.String propertyPrefix)
| Method Detail |
|---|
public HystrixProperty<java.lang.Boolean> requestCachingEnabled()
HystrixCollapser.execute() and HystrixCollapser.queue() invocations.
HystrixProperty<Boolean>public HystrixProperty<java.lang.Integer> maxRequestsInBatch()
HystrixProperty<Integer>public HystrixProperty<java.lang.Integer> timerDelayInMilliseconds()
HystrixCollapserProperties.maxRequestsInBatch is hit which will cause a batch to execute early.
HystrixProperty<Integer>public static HystrixCollapserProperties.Setter Setter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||