Class SerializedExecutor
java.lang.Object
org.eclipse.jetty.util.thread.SerializedExecutor
- All Implemented Interfaces:
 Executor
Ensures serial execution of submitted tasks.
An Executor that uses an internal SerializedInvoker to ensure that only one of the submitted tasks is running
at any time.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceError handling task - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
SerializedExecutor
public SerializedExecutor() - 
SerializedExecutor
 
 - 
 - 
Method Details
- 
onError
 - 
execute
Arrange for a task to be executed, mutually excluded from other tasks. This is equivalent to executing anyRunnablereturned from the internalSerializedInvoker.offer(Runnable)method. - 
execute
Arrange for tasks to be executed, mutually excluded from other tasks. This is equivalent to executing anyRunnablereturned from the internalSerializedInvoker.offer(Runnable)method.- Parameters:
 tasks- The tasks to invoke
 
 -