Class TrackingScheduler

java.lang.Object
com.google.gwt.core.client.Scheduler
com.google.gwt.core.client.impl.SchedulerImpl
com.vaadin.client.TrackingScheduler

public class TrackingScheduler extends com.google.gwt.core.client.impl.SchedulerImpl
Scheduler implementation which tracks and reports whether there is any work queued or currently being executed.
Since:
1.0
Author:
Vaadin Ltd
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.core.client.Scheduler

    com.google.gwt.core.client.Scheduler.RepeatingCommand, com.google.gwt.core.client.Scheduler.ScheduledCommand
  • Field Summary

    Fields inherited from class com.google.gwt.core.client.impl.SchedulerImpl

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if there is work queued or currently being executed.
    void
    scheduleDeferred(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd)
     

    Methods inherited from class com.google.gwt.core.client.impl.SchedulerImpl

    flushEntryCommands, flushFinallyCommands, scheduleEntry, scheduleEntry, scheduleFinally, scheduleFinally, scheduleFixedDelay, scheduleFixedPeriod, scheduleIncremental

    Methods inherited from class com.google.gwt.core.client.Scheduler

    get

    Methods inherited from class java.lang.Object

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

    • TrackingScheduler

      public TrackingScheduler()
  • Method Details

    • scheduleDeferred

      public void scheduleDeferred(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd)
      Overrides:
      scheduleDeferred in class com.google.gwt.core.client.impl.SchedulerImpl
    • hasWorkQueued

      public boolean hasWorkQueued()
      Checks if there is work queued or currently being executed.
      Returns:
      true if there is work queued or if work is currently being executed, false otherwise