protected < V > RunnableScheduledFuture < V > decorateTask ( Runnable runnable , RunnableScheduledFuture < V > task ) { return task ; }
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 .