Modifies or replaces the task used to execute a runnable.
This method can be used to override the concrete
class used for managing internal tasks.
The default implementation simply returns the given task.
@param runnable the submitted Runnable
@param task the task created to execute the runnable
@param (V) the type of the task's result
@return a task that can execute the runnable
Modifies or replaces the task used to execute a runnable. This method can be used to override the concrete class used for managing internal tasks. The default implementation simply returns the given task.
@param runnable the submitted Runnable @param task the task created to execute the runnable @param (V) the type of the task's result @return a task that can execute the runnable