Class AbstractUserAsynchronousProcessExtension

    • Method Detail

      • performRequest

        public UserAsynchronousProcessExtensionResult performRequest​(IRequestId requestId,
                                                                     CompositeObject in,
                                                                     IIvyScriptContext context)
                                                              throws Exception
        Description copied from interface: IUserAsynchronousProcessExtension
        This method is the program performed in an asynchronous process extension element every time a token comes to the process element (request). Note that more than one thread can call this method parallel if more than one request are running through the process extension element. Therefore the bean must be aware of multithreading.
        Specified by:
        performRequest in interface IUserAsynchronousProcessExtension
        Parameters:
        requestId - the identifier of the request
        in - the current process data. Modify this process data in your implementation
        context - the context to use to perform the request
        Returns:
        the process data that are reinjected to the process. Most implementation simple return the in object
        Throws:
        Exception - if perform fails
        API:
        This public API is available in Java.
      • generateGlobalUniqueEventIdentifier

        protected String generateGlobalUniqueEventIdentifier()
        Generates a global unique event identifier
        Returns:
        global unique event identifier
        API:
        This public API is available in Java.