public static enum HystrixCollapser.Scope extends Enum<HystrixCollapser.Scope> implements RequestCollapserFactory.Scope
HystrixRequestContext
will be collapsed.
Typically this means that requests within a single user-request (ie. HTTP request) are collapsed. No interaction with other user requests. 1 queue per user request.
Modifier and Type | Method and Description |
---|---|
static HystrixCollapser.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HystrixCollapser.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final HystrixCollapser.Scope REQUEST
public static final HystrixCollapser.Scope GLOBAL
public static HystrixCollapser.Scope[] values()
for (HystrixCollapser.Scope c : HystrixCollapser.Scope.values()) System.out.println(c);
public static HystrixCollapser.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All Rights Reserved.