Class BetaFallbackState

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer index() Returns the index into the fallback chain the requests are pinned to.
      final Unit index(Integer index) Sets the index into the fallback chain the requests are pinned to (index).
      final static BetaFallbackState create() Returns a new BetaFallbackState pinned to the original request params.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • index

         final Integer index()

        Returns the index into the fallback chain the requests are pinned to.

        -1 targets the original request params; the interceptor sets it to the index of the fallback that accepted the request.

      • index

         final Unit index(Integer index)

        Sets the index into the fallback chain the requests are pinned to (index).