com.hammurapi.common.concurrent

## Interface Synapse<C,R,K,E extends Exception>

- Type Parameters:
    `R` -
  All Superinterfaces:
    Invocable<C,Future<Iterable<R>>,K,E>, Invoker<C,R,K,E>
  All Known Implementing Classes:
    LocalSynapse, SynapseChain

      public interface Synapse<C,R,K,E extends Exception>
      extends Invoker<C,R,K,E>, Invocable<C,Future<Iterable<R>>,K,E>

  Synapse is a liaison between invoker and invocable. Synapse iterates over arguments of type ArgumentIterator and can perform invocation asynchronously, potentially in a different process, using provided executor service. Synapse converts arguments to expected argument type if required, chains invocation property sets and controls length of invocation chain to prevent infinite invocations.

- - ### Method Summary

    - ### Methods inherited from interface com.hammurapi.common.concurrent.Invoker

      `setInvocable`

    - ### Methods inherited from interface com.hammurapi.common.concurrent.Invocable

      `getParameterTypes, getReturnType, invoke`