Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.internal.services » [javadoc | source]
org.apache.tapestry5.internal.services
public class: CheckForUpdatesFilter [javadoc | source]
java.lang.Object
   org.apache.tapestry5.internal.services.CheckForUpdatesFilter

All Implemented Interfaces:
    RequestFilter

Implements a barrier that periodically asks the org.apache.tapestry5.internal.services.UpdateListenerHub to check for updates to files. The UpdateListenerHub is invoked from a write method, meaning that when it is called, all other threads will be blocked.
Constructor:
 public CheckForUpdatesFilter(UpdateListenerHub updateListenerHub,
    long checkInterval,
    long updateTimeout) 
    Parameters:
    updateListenerHub - invoked, at intervals, to spur the process of detecting changes
    checkInterval - interval, in milliseconds, between checks
    updateTimeout - time, in milliseconds, to wait to obtain update lock.
Method from org.apache.tapestry5.internal.services.CheckForUpdatesFilter Summary:
service
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.internal.services.CheckForUpdatesFilter Detail:
 public boolean service(Request request,
    Response response,
    RequestHandler handler) throws IOException