Annotation Type Bulkhead
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) @Documented public @interface BulkheadThis annotation can be applied to a class or a specific method. Applying it on a class is equivalent to applying it on all its public methods. If using Spring,nameandfallbackMethodcan be resolved using Spring Expression Language (SpEL).
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameName of the bulkhead.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringfallbackMethodfallbackMethod method name.Bulkhead.Typetype
-
-
-
-
type
Bulkhead.Type type
- Returns:
- the bulkhead implementation type (SEMAPHORE or THREADPOOL)
- Default:
- io.github.resilience4j.bulkhead.annotation.Bulkhead.Type.SEMAPHORE
-
-