org.directwebremoting.extend.WaitController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dwr Show documentation
Show all versions of dwr Show documentation
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.
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