Interface CallableWrapper<T>

  • All Superinterfaces:
    Callable<T>

    public interface CallableWrapper<T>
    extends Callable<T>
    • Method Detail

      • onFailure

        void onFailure​(Exception e)
        This method is invoked for all exception thrown by doCall()
      • onBefore

        default void onBefore()
                       throws Exception
        This method is called before all execution for init.
        Throws:
        Exception
      • onAfter

        default void onAfter​(T result)
                      throws Exception
        This method is called after execution.
        Throws:
        Exception
      • onFinal

        default void onFinal()
        This method is called in a finally block after successful execution or on a rejection.