Class ReactorFallbackDecorator

  • All Implemented Interfaces:
    FallbackDecorator

    public class ReactorFallbackDecorator
    extends java.lang.Object
    implements FallbackDecorator
    fallbackMethod decorator for Flux and Mono
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vavr.CheckedFunction0<java.lang.Object> decorate​(FallbackMethod fallbackMethod, io.vavr.CheckedFunction0<java.lang.Object> supplier)  
      boolean supports​(java.lang.Class<?> target)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReactorFallbackDecorator

        public ReactorFallbackDecorator()
    • Method Detail

      • decorate

        public io.vavr.CheckedFunction0<java.lang.Object> decorate​(FallbackMethod fallbackMethod,
                                                                   io.vavr.CheckedFunction0<java.lang.Object> supplier)
        Specified by:
        decorate in interface FallbackDecorator
        Parameters:
        fallbackMethod - fallback method.
        supplier - target function should be decorated.
        Returns:
        decorated function