@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface DefaultProperties
@HystrixCommand annotation).| Modifier and Type | Optional Element and Description |
|---|---|
HystrixProperty[] |
commandProperties
Specifies command properties that will be used for
each hystrix command be default unless command properties explicitly specified in @HystrixCommand.
|
java.lang.String |
defaultFallback
Specifies default fallback method for each command in the given class.
|
java.lang.String |
groupKey
Specifies default group key used for each hystrix command by default unless a command specifies group key explicitly.
|
java.lang.Class<? extends java.lang.Throwable>[] |
ignoreExceptions
Defines exceptions which should be ignored.
|
HystrixException[] |
raiseHystrixExceptions
When includes RUNTIME_EXCEPTION, any exceptions that are not ignored are wrapped in HystrixRuntimeException.
|
java.lang.String |
threadPoolKey
Specifies default thread pool key used for each hystrix command by default unless a command specifies thread pool key explicitly.
|
HystrixProperty[] |
threadPoolProperties
Specifies thread pool properties that will be used for
each hystrix command be default unless thread pool properties explicitly specified in @HystrixCommand.
|
public abstract java.lang.String groupKey
HystrixCommand.groupKey().public abstract java.lang.String threadPoolKey
HystrixCommand.threadPoolKey()public abstract HystrixProperty[] commandProperties
public abstract HystrixProperty[] threadPoolProperties
public abstract java.lang.Class<? extends java.lang.Throwable>[] ignoreExceptions
public abstract HystrixException[] raiseHystrixExceptions
public abstract java.lang.String defaultFallback