Package com.vaadin.client
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if there is work queued or currently being executed.voidscheduleDeferred(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, scheduleIncrementalMethods inherited from class com.google.gwt.core.client.Scheduler
get
-
Constructor Details
-
TrackingScheduler
public TrackingScheduler()
-
-
Method Details
-
scheduleDeferred
public void scheduleDeferred(com.google.gwt.core.client.Scheduler.ScheduledCommand cmd) - Overrides:
scheduleDeferredin classcom.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
-