public class ResourceChangeTrackerImpl extends InvalidationEventHubImpl implements ResourceChangeTracker, UpdateListener
| Constructor and Description |
|---|
ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter,
boolean productionMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(Resource dependency)
Marks the dependency as an additional resource.
|
void |
checkForUpdates()
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.
|
void |
forceInvalidationEvent()
Forces an invalidation event.
|
void |
registerWithUpdateListenerHub(UpdateListenerHub hub) |
long |
trackResource(Resource resource)
Start tracking the resource (or return the last modified time of an already tracked resource).
|
addInvalidationCallback, addInvalidationListener, clearOnInvalidation, fireInvalidationEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInvalidationCallback, addInvalidationListener, clearOnInvalidationpublic ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter, @Symbol(value="tapestry.production-mode") boolean productionMode)
@PostInjection public void registerWithUpdateListenerHub(UpdateListenerHub hub)
public long trackResource(Resource resource)
ResourceChangeTrackertrackResource in interface ResourceChangeTrackerresource - to trackURLChangeTrackerpublic void addDependency(Resource dependency)
ResourceDependenciesaddDependency in interface ResourceDependenciespublic void forceInvalidationEvent()
ResourceChangeTrackerStreamableResource
generated from the component message catalog; there are some walls in place that prevent the message catalog's underlying
Resources from being exposed.forceInvalidationEvent in interface ResourceChangeTrackerMessageCatalogResourcepublic void checkForUpdates()
UpdateListenercheckForUpdates in interface UpdateListener5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.