Top Description Fields Constructors Methods
io.undertow.util

public Class PipeliningExecutor

extends Object
implements Executor
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Executor
Annotations
@Deprecated
Imports
io.undertow.UndertowLogger, java.util.LinkedList, .List, java.util.concurrent.Executor

Deprecated

Executor that will continue to re-run tasks in a loop that are submitted from its own thread.
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Executor
private static final ThreadLocal<LinkedList<Runnable>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
execute(final Runnable
the runnable task
command
)

Implements java.util.concurrent.Executor.execute.

Executes the given command at some time in the future.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

executorback to summary
private final Executor executor
THREAD_QUEUEback to summary
private static final ThreadLocal<LinkedList<Runnable>> THREAD_QUEUE

Constructor Detail

PipeliningExecutorback to summary
public PipeliningExecutor(Executor executor)

Method Detail

executeback to summary
public void execute(final Runnable command)

Implements java.util.concurrent.Executor.execute.

Doc from java.util.concurrent.Executor.execute.

Executes the given command at some time in the future. The command may execute in a new thread, in a pooled thread, or in the calling thread, at the discretion of the Executor implementation.

Parameters
command:Runnable

the runnable task

Annotations
@Override