@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Around @Type(value=HystrixInterceptor.class) public @interface HystrixCommand
| Modifier and Type | Optional Element and Description | 
|---|---|
String | 
command
Same as  
value(). | 
String | 
group
The command group key is used for grouping together commands such as for reporting,
 alerting, dashboards or team/library ownership. 
 | 
Property[] | 
properties  | 
String | 
threadPool
The thread-pool key is used to represent a
 HystrixThreadPool for monitoring, metrics publishing, caching and other such uses. 
 | 
String | 
value
Hystrix command key. 
 | 
public abstract String value
 ...
 @HystrixCommand
 public User getUserById(...)
 ...
 
 
 the command name will be: 'getUserById'@AliasFor(annotation=Hystrix.class, member="group") public abstract String group
@AliasFor(annotation=Hystrix.class, member="threadPool") public abstract String threadPool
@AliasFor(annotation=Hystrix.class, member="commandProperties") public abstract Property[] properties
HystrixCommandProperties