- java.lang.Object
-
- com.github.mizosoft.methanol.internal.concurrent.SerialExecutor
-
- All Implemented Interfaces:
java.util.concurrent.Executor
public final class SerialExecutor extends java.lang.Object implements java.util.concurrent.ExecutorAn executor that ensures submitted tasks are executed serially.
-
-
Constructor Summary
Constructors Constructor Description SerialExecutor(java.util.concurrent.Executor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(java.lang.Runnable task)voidshutdown()java.lang.StringtoString()
-