
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.hystrix.collapser.RequestCollapserFactory<BatchReturnType,ResponseType,RequestArgumentType>
BatchReturnType - ResponseType - RequestArgumentType - public class RequestCollapserFactory<BatchReturnType,ResponseType,RequestArgumentType>
Factory for retrieving the correct instance of a RequestCollapser.
| Nested Class Summary | |
|---|---|
static class |
RequestCollapserFactory.Setter
Fluent interface for arguments to the HystrixCollapser constructor. |
| Constructor Summary | |
|---|---|
RequestCollapserFactory(HystrixCollapserKey collapserKey,
HystrixCollapser.Scope scope,
CollapserTimer timer,
HystrixCollapserProperties.Setter propertiesBuilder)
|
|
| Method Summary | |
|---|---|
HystrixCollapserKey |
getCollapserKey()
|
HystrixCollapserProperties |
getProperties()
|
RequestCollapser<BatchReturnType,ResponseType,RequestArgumentType> |
getRequestCollapser(HystrixCollapserBridge<BatchReturnType,ResponseType,RequestArgumentType> commandCollapser)
|
static HystrixRequestVariableHolder<RequestCollapser<?,?,?>> |
getRequestVariable(java.lang.String key)
Used for testing |
HystrixCollapser.Scope |
getScope()
|
static void |
reset()
Clears all state. |
static void |
resetRequest()
Used for testing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestCollapserFactory(HystrixCollapserKey collapserKey,
HystrixCollapser.Scope scope,
CollapserTimer timer,
HystrixCollapserProperties.Setter propertiesBuilder)
| Method Detail |
|---|
public HystrixCollapserKey getCollapserKey()
public HystrixCollapser.Scope getScope()
public HystrixCollapserProperties getProperties()
public RequestCollapser<BatchReturnType,ResponseType,RequestArgumentType> getRequestCollapser(HystrixCollapserBridge<BatchReturnType,ResponseType,RequestArgumentType> commandCollapser)
public static void reset()
public static void resetRequest()
public static HystrixRequestVariableHolder<RequestCollapser<?,?,?>> getRequestVariable(java.lang.String key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||