Interface FallbackPredicate

All Superinterfaces:
Predicate<Throwable>

public interface FallbackPredicate extends Predicate<Throwable>
Configures behavior of Fallback on whenever exception should count as fallback applicable or not
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    test(Throwable throwable)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • name

      @Nonnull String name()
      Returns:
      name of the predicate
    • test

      boolean test(@Nonnull Throwable throwable)
      Specified by:
      test in interface Predicate<Throwable>
      Parameters:
      throwable - to test
      Returns:
      when True than throwable is registered as failure