Class Timer


  • public class Timer
    extends Object
    A timer task that can be used as a future. The future is completed when the timeout expires, when the task is cancelled the future is failed with a CancellationException.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

    • Constructor Detail

      • Timer

        public Timer​(io.vertx.core.Timer delegate)
      • Timer

        public Timer​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.core.Timer getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • cancel

        public boolean cancel()
        Returns:
        true when the future was cancelled and the timeout didn't fire.
      • newInstance

        public static Timer newInstance​(io.vertx.core.Timer arg)