Annotation Interface Bulkhead
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Around
@Documented
@Executable
public @interface Bulkhead
This 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.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionfallbackMethod method name.
-
Element Details
-
name
String nameName of the bulkhead.- Returns:
- the name of the bulkhead
-
-
-
fallbackMethod
String fallbackMethodfallbackMethod method name.- Returns:
- fallbackMethod method name.
- Default:
- ""
-
type
Bulkhead.Type type- Returns:
- the bulkhead implementation type (SEMAPHORE or THREADPOOL)
- Default:
- SEMAPHORE
-