Package io.aether.utils.slots
Class EventSourceRunnable
- java.lang.Object
-
- io.aether.utils.slots.EventSourceRunnable
-
public class EventSourceRunnable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EventSourceRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable()booleanenable()voidenabled(boolean f)booleanisEnabled()voidreset()voidrun(ARunnable task)voidrun(java.util.concurrent.Executor executor, ARunnable task)voidrunPermanent(ARunnable task)AFuturetoFuture()
-
-
-
Method Detail
-
toFuture
public AFuture toFuture()
-
enabled
public void enabled(boolean f)
-
enable
public boolean enable()
-
disable
public void disable()
-
run
public void run(java.util.concurrent.Executor executor, ARunnable task)
-
run
public void run(ARunnable task)
-
runPermanent
public void runPermanent(ARunnable task)
-
isEnabled
public boolean isEnabled()
-
reset
public void reset()
-
-