Package org.eclipse.jetty.util.thread.strategy
-
Class Summary Class Description AdaptiveExecutionStrategy An adaptive execution strategy that uses theInvocable
status of both the task and the current thread to select an optimal strategy that prioritizes executing the task immediately in the current producing thread if it can be done so without thread starvation issues.EatWhatYouKill Deprecated, for removal: This API element is subject to removal in a future version. This class has been renamed toAdaptiveExecutionStrategy
ExecuteProduceConsume A strategy where the thread that produces will always run the resulting task.ProduceConsume A strategy where the caller thread iterates over task production, submitting each task to anExecutor
for execution.ProduceExecuteConsume A strategy where the caller thread iterates over task production, submitting each task to anExecutor
for execution.