@Beta public static class Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder extends Object
Resilience4jDecorationStrategy
. The order of attached decorators
indicates the order of execution.Modifier and Type | Method and Description |
---|---|
Resilience4jDecorationStrategy |
build() |
Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder |
clearDecorators() |
Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder |
decorator(GenericDecorator decorator) |
Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder |
decorators(Collection<? extends GenericDecorator> decorators) |
Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder |
defaultDecorators()
Attach the default decorators in the order of
DEFAULT_DECORATORS . |
String |
toString() |
@Nonnull public Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder defaultDecorators()
DEFAULT_DECORATORS
.@Nonnull public Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder decorator(GenericDecorator decorator)
@Nonnull public Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder decorators(@Nonnull Collection<? extends GenericDecorator> decorators)
@Nonnull public Resilience4jDecorationStrategy.Resilience4jDecorationStrategyBuilder clearDecorators()
@Nonnull public Resilience4jDecorationStrategy build()
Copyright © 2021 SAP SE. All rights reserved.