Interface Scheduler


  • public interface Scheduler
    Represents a scheduler to execute tasks on the proxy.
    • Method Detail

      • buildTask

        Scheduler.TaskBuilder buildTask​(java.lang.Object plugin,
                                        java.lang.Runnable runnable)
        Initializes a new Scheduler.TaskBuilder for creating a task on the proxy.
        Parameters:
        plugin - the plugin to request the task for
        runnable - the task to run when scheduled
        Returns:
        the task builder