Interface CandidateInvoker

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CandidateInvoker
Invoker used by fan-out and scatter-gather helpers.
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(ObjectRef candidate)
    Invokes one candidate.
  • Method Details

    • invoke

      Object invoke(ObjectRef candidate) throws Exception
      Invokes one candidate.
      Parameters:
      candidate - candidate reference
      Returns:
      candidate result
      Throws:
      Exception - candidate failure