Package org.eclipse.jetty.util.thread.strategy
package org.eclipse.jetty.util.thread.strategy
-
ClassDescriptionAn adaptive execution strategy that uses the
Invocable
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.Deprecated, for removal: This API element is subject to removal in a future version.A strategy where the thread that produces will always run the resulting task.A strategy where the caller thread iterates over task production, submitting each task to anExecutor
for execution.A strategy where the caller thread iterates over task production, submitting each task to anExecutor
for execution.
AdaptiveExecutionStrategy