Class UnscheduledFabricTask
java.lang.Object
net.playeranalytics.plugin.scheduling.UnscheduledFabricTask
- All Implemented Interfaces:
net.playeranalytics.plugin.scheduling.UnscheduledTask
public class UnscheduledFabricTask
extends Object
implements net.playeranalytics.plugin.scheduling.UnscheduledTask
-
Constructor Summary
ConstructorDescriptionUnscheduledFabricTask(ScheduledExecutorService scheduler, Runnable runnable, Consumer<net.playeranalytics.plugin.scheduling.Task> cancellableConsumer)
-
Method Summary
Modifier and TypeMethodDescriptionnet.playeranalytics.plugin.scheduling.Task
runTask()
net.playeranalytics.plugin.scheduling.Task
net.playeranalytics.plugin.scheduling.Task
runTaskLater(long delayTicks)
net.playeranalytics.plugin.scheduling.Task
runTaskLaterAsynchronously(long delayTicks)
net.playeranalytics.plugin.scheduling.Task
runTaskTimer(long delayTicks, long periodTicks)
net.playeranalytics.plugin.scheduling.Task
runTaskTimerAsynchronously(long delayTicks, long periodTicks)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.playeranalytics.plugin.scheduling.UnscheduledTask
runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimer, runTaskTimerAsynchronously, runTaskTimerAsynchronously
-
Constructor Details
-
UnscheduledFabricTask
public UnscheduledFabricTask(ScheduledExecutorService scheduler, Runnable runnable, Consumer<net.playeranalytics.plugin.scheduling.Task> cancellableConsumer)
-
-
Method Details
-
runTaskAsynchronously
public net.playeranalytics.plugin.scheduling.Task runTaskAsynchronously()- Specified by:
runTaskAsynchronously
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-
runTaskLaterAsynchronously
public net.playeranalytics.plugin.scheduling.Task runTaskLaterAsynchronously(long delayTicks)- Specified by:
runTaskLaterAsynchronously
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-
runTaskTimerAsynchronously
public net.playeranalytics.plugin.scheduling.Task runTaskTimerAsynchronously(long delayTicks, long periodTicks)- Specified by:
runTaskTimerAsynchronously
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-
runTask
public net.playeranalytics.plugin.scheduling.Task runTask()- Specified by:
runTask
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-
runTaskLater
public net.playeranalytics.plugin.scheduling.Task runTaskLater(long delayTicks)- Specified by:
runTaskLater
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-
runTaskTimer
public net.playeranalytics.plugin.scheduling.Task runTaskTimer(long delayTicks, long periodTicks)- Specified by:
runTaskTimer
in interfacenet.playeranalytics.plugin.scheduling.UnscheduledTask
-