Package net.minecraftforge.fml
Class ModWorkManager.WrappingExecutor
- java.lang.Object
-
- net.minecraftforge.fml.ModWorkManager.WrappingExecutor
-
- All Implemented Interfaces:
java.util.concurrent.Executor
,ModWorkManager.DrivenExecutor
- Enclosing class:
- ModWorkManager
private static class ModWorkManager.WrappingExecutor extends java.lang.Object implements ModWorkManager.DrivenExecutor
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.Executor
wrapped
-
Constructor Summary
Constructors Constructor Description WrappingExecutor(java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
driveOne()
void
execute(java.lang.Runnable command)
boolean
selfDriven()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.fml.ModWorkManager.DrivenExecutor
drive
-
-
-
-
Method Detail
-
selfDriven
public boolean selfDriven()
- Specified by:
selfDriven
in interfaceModWorkManager.DrivenExecutor
-
driveOne
public boolean driveOne()
- Specified by:
driveOne
in interfaceModWorkManager.DrivenExecutor
-
execute
public void execute(java.lang.Runnable command)
- Specified by:
execute
in interfacejava.util.concurrent.Executor
-
-