Package io.undertow.websockets.jsr
Class OrderedExecutor
- java.lang.Object
-
- io.undertow.websockets.jsr.OrderedExecutor
-
- All Implemented Interfaces:
java.util.concurrent.Executor
public class OrderedExecutor extends java.lang.Object implements java.util.concurrent.Executor
Executor that executes tasks in the order they are submitted, using at most one thread at a time.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description OrderedExecutor(java.util.concurrent.Executor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.Runnable command)
-