Class SelectorResolutionResult

    • Method Detail

      • resolved

        public static SelectorResolutionResult resolved()
        Create a SelectorResolutionResult for a resolved selector.
        Returns:
        the SelectorResolutionResult; never null
      • unresolved

        public static SelectorResolutionResult unresolved()
        Create a SelectorResolutionResult for an unresolved selector.
        Returns:
        the SelectorResolutionResult; never null
      • failed

        public static SelectorResolutionResult failed​(Throwable throwable)
        Create a SelectorResolutionResult for a failed selector resolution.
        Returns:
        the SelectorResolutionResult; never null
      • getThrowable

        public Optional<Throwable> getThrowable()
        Get the throwable that caused this result, if available.
        Returns:
        an Optional containing the throwable; never null but potentially empty