Interface AiServiceWithFaultTolerance


public interface AiServiceWithFaultTolerance
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    fallback(String topic, int lines)
     
    writeAPoem(String topic, int lines)
     
  • Method Details

    • writeAPoem

      @Timeout(value=60L, unit=SECONDS) @Fallback(fallbackMethod="fallback") String writeAPoem(String topic, int lines)
    • fallback

      default String fallback(String topic, int lines)