VitalScheduler

abstract class VitalScheduler(val environment: Environment) : BeanPostProcessor

Internal class; used to define a custom schedular to schedule tasks on the server's schedular instead of the one from Spring. This schedular can schedule functions annotated with VitalScheduled.

Inheritors

Constructors

Link copied to clipboard
constructor(environment: Environment)

Types

Link copied to clipboard
class Bungee(environment: Environment, plugin: BungeePlugin) : VitalScheduler
Link copied to clipboard
class Spigot(environment: Environment, plugin: SpigotPlugin) : VitalScheduler

Properties

Link copied to clipboard
val environment: Environment

Functions

Link copied to clipboard
open override fun postProcessAfterInitialization(bean: Any, beanName: String): Any?
Link copied to clipboard
@Nullable
open fun postProcessBeforeInitialization(bean: Any?, beanName: String?): Any?
Link copied to clipboard
abstract fun schedule(method: Runnable)
Link copied to clipboard
fun shutdown()