Interface RExecutorServiceAsync

    • Method Detail

      • deleteAsync

        RFuture<Boolean> deleteAsync()
        Deletes executor request queue and state objects
        Returns:
        true if any of objects were deleted
      • submitAsync

        <T> RExecutorFuture<T> submitAsync​(Callable<T> task)
        Submits task for execution asynchronously
        Type Parameters:
        T - type of return value
        Parameters:
        task - - task to execute
        Returns:
        Future object
      • submitAsync

        RExecutorBatchFuture submitAsync​(Callable<?>... tasks)
        Submits tasks batch for execution asynchronously. All tasks are stored to executor request queue atomically, if case of any error none of tasks will be added.
        Parameters:
        tasks - - tasks to execute
        Returns:
        Future object
      • submitAsync

        RExecutorFuture<?> submitAsync​(Runnable task)
        Submits task for execution asynchronously
        Parameters:
        task - - task to execute
        Returns:
        Future object
      • submitAsync

        RExecutorBatchFuture submitAsync​(Runnable... tasks)
        Submits tasks batch for execution asynchronously. All tasks are stored to executor request queue atomically, if case of any error none of tasks will be added.
        Parameters:
        tasks - - tasks to execute
        Returns:
        Future object