All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.directwebremoting.extend.WaitController Maven / Gradle / Ivy

Go to download

DWR is easy Ajax for Java. It makes it simple to call Java code directly from Javascript. It gets rid of almost all the boilerplate code between the web browser and your Java code. This version 4.0.2 works with Jakarta Servlet 4.0.2.

There is a newer version: 5.0.0
Show newest version
package org.directwebremoting.extend;

/**
 * A WaitController allows the {@link ServerLoadMonitor} to know what is waiting
 * and enables it to tell them to stop waiting.
 * TODO: Change the name of this to something that indicates it's about shutdown
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
public interface WaitController
{
    /**
     * Stop waiting - the server wants to shutdown
     */
    void shutdown();

    /**
     * @return Has {@link #shutdown()} been called?
     */
    boolean isShutdown();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy