com.hammurapi.common.concurrent

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

- Type Parameters:
    `R` - Return type.
  All Known Subinterfaces:
    FireAndForgetInvocable<C,K>, Synapse<C,R,K,E>
  All Known Implementing Classes:
    LocalSynapse, MethodInvocable, SynapseChain

      public interface Invocable<C,R,K,E extends Exception>

  Something that can be invoked.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<?>[]` | `getParameterTypes()`
    `Class<R>` | `getReturnType()`
    `R` | `invoke(C context, Invocation<K> invocation, ExecutorService executorService)`

- - ### Method Detail

    - #### invoke

          R invoke(C context,
                 Invocation<K> invocation,
                 ExecutorService executorService)
                   throws E extends Exception

      Parameters:
        `invocation` - Invocation
        `executorService` - Executor service for performing asynchronous processing.
      Returns:
      Throws:
        `E extends Exception`

    - #### getReturnType

          Class<R> getReturnType()

    - #### getParameterTypes

          Class<?>[] getParameterTypes()