Package top.focess.qq.core.schedule
Class AScheduler
- java.lang.Object
-
- top.focess.qq.core.schedule.AScheduler
-
- All Implemented Interfaces:
Scheduler
- Direct Known Subclasses:
FocessScheduler,ThreadPoolScheduler
public abstract class AScheduler extends Object implements Scheduler
-
-
Constructor Summary
Constructors Constructor Description AScheduler(Plugin plugin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close this schedulerstatic voidclose(Plugin plugin)Close all the schedulers belonging to the pluginstatic booleancloseAll()Close all the schedulersPlugingetPlugin()Get the plugin
-
-
-
Constructor Detail
-
AScheduler
public AScheduler(Plugin plugin)
-
-
Method Detail
-
close
public void close()
Description copied from interface:SchedulerClose this scheduler
-
close
public static void close(Plugin plugin)
Close all the schedulers belonging to the plugin- Parameters:
plugin- the plugin
-
closeAll
public static boolean closeAll()
Close all the schedulers- Returns:
- true if there are some schedulers not belonging to MainPlugin not been closed, false otherwise
-
-