Class RequestExecutorProvider.SameThreadProvider

    • Constructor Detail

      • SameThreadProvider

        public SameThreadProvider()
    • Method Detail

      • getExecutor

        public java.util.concurrent.Executor getExecutor​(Request request)
        Description copied from interface: RequestExecutorProvider
        Returns the Executor to execute user's code associated with the Request processing.
        Specified by:
        getExecutor in interface RequestExecutorProvider
        Parameters:
        request - Request
        Returns:
        the Executor to execute user's code associated with the Request processing, or null if the Request has to be executed on the current Thread