Package org.teamapps.util
Class MultiKeySequentialExecutor.SequentialExecutor
java.lang.Object
org.teamapps.util.MultiKeySequentialExecutor.SequentialExecutor
- All Implemented Interfaces:
java.util.concurrent.Executor
- Enclosing class:
- MultiKeySequentialExecutor<K>
public class MultiKeySequentialExecutor.SequentialExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
-
Constructor Summary
Constructors Constructor Description SequentialExecutor() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SequentialExecutor
public SequentialExecutor()
-
-
Method Details
-
execute
public void execute(java.lang.Runnable command)- Specified by:
executein interfacejava.util.concurrent.Executor
-
submit
public java.util.concurrent.CompletableFuture<java.lang.Void> submit(java.lang.Runnable runnable) -
submit
public <V> java.util.concurrent.CompletableFuture<V> submit(java.util.function.Supplier<V> task)
-