Class ZeroScheduler

java.lang.Object
io.vertx.core.AbstractVerticle
io.vertx.up.verticle.ZeroScheduler
All Implemented Interfaces:
io.vertx.core.Verticle

@Worker(instances=1) public class ZeroScheduler extends io.vertx.core.AbstractVerticle
Background worker of Zero framework, it's for schedule of background tasks here. This scheduler is for task deployment, it should deploy all tasks This worker must be SINGLE ( instances = 1 ) because multi worker with the same tasks may be conflicts
  • Field Summary

    Fields inherited from class io.vertx.core.AbstractVerticle

    context, vertx
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class io.vertx.core.AbstractVerticle

    config, deploymentID, getVertx, init, processArgs, start, stop, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZeroScheduler

      public ZeroScheduler()
  • Method Details

    • start

      public void start()
      Overrides:
      start in class io.vertx.core.AbstractVerticle