Class AsyncProcessorTool


  • public class AsyncProcessorTool
    extends Object
    • Constructor Detail

      • AsyncProcessorTool

        public AsyncProcessorTool()
    • Method Detail

      • process

        public static void process​(AsyncProcessor processor,
                                   ProcessContext processContext)
                            throws Exception
        Calls the async of the processor's process method and waits for it to complete before returning. This can be used by AsyncProcessor objects to implement their sync version of the process method.
        Parameters:
        processor - the processor
        processContext - the context
        Throws:
        Exception - can be thrown if waiting is interrupted