Class StargateAsyncTask
java.lang.Object
org.sgrewritten.stargate.thread.task.StargateTask
org.sgrewritten.stargate.thread.task.StargateAsyncTask
- All Implemented Interfaces:
Runnable
Runs tasks asynchronously
-
Field Summary
Fields inherited from class org.sgrewritten.stargate.thread.task.StargateTask
USING_FOLIA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
runDelayed
(long delay) void
runNow()
void
runTaskTimer
(long period, long delay) Methods inherited from class org.sgrewritten.stargate.thread.task.StargateTask
cancel, forceRunAllTasks, registerBukkitTask, registerFoliaTask, registerTask, runTask, runTask, setRepeatable
-
Constructor Details
-
StargateAsyncTask
protected StargateAsyncTask()
-
-
Method Details
-
runNow
public void runNow()- Specified by:
runNow
in classStargateTask
-
runDelayed
public void runDelayed(long delay) - Specified by:
runDelayed
in classStargateTask
-
runTaskTimer
public void runTaskTimer(long period, long delay) - Specified by:
runTaskTimer
in classStargateTask
-