Uses of Interface
io.github.resilience4j.core.functions.Either
Packages that use Either
-
Uses of Either in io.github.resilience4j.core
Subinterfaces with type arguments of type Either in io.github.resilience4j.coreModifier and TypeInterfaceDescriptioninterfaceAn IntervalBiFunction which can be used to calculate the wait interval.Methods in io.github.resilience4j.core with parameters of type EitherModifier and TypeMethodDescriptionstatic <T extends Throwable>
booleanResultUtils.isFailedAndThrown(Either<? extends Throwable, ?> callsResult, Class<T> expectedClass) static <T extends Throwable>
booleanResultUtils.isFailedAndThrown(Either<? extends Throwable, ?> callsResult, Class<T> expectedClass, Function<T, Boolean> thrownChecker) static <T> booleanResultUtils.isSuccessfulAndReturned(Either<? extends Throwable, ?> callsResult, Class<T> expectedClass, Function<T, Boolean> returnedChecker) -
Uses of Either in io.github.resilience4j.core.functions
Classes in io.github.resilience4j.core.functions that implement EitherModifier and TypeClassDescriptionstatic final classEither.Left<L,R> TheLeftversion of anEither.static final classEither.Right<L,R> TheRightversion of anEither.Methods in io.github.resilience4j.core.functions that return EitherModifier and TypeMethodDescriptionstatic <L,R> Either <L, R> Either.left(L left) Constructs aEither.LeftMaps the left value if the projected Either is a Left.Maps the value of this Either if it is a Left, performs no operation if this is a Right.static <L,R> Either <L, R> Either.right(R right) Constructs aEither.RightEither.swap()Converts aLeftto aRightvice versa by wrapping the value in a new type.