- All Superinterfaces:
- InvalidationEventHub, ResourceDependencies
- All Known Implementing Classes:
public interface ResourceChangeTracker
- extends InvalidationEventHub, ResourceDependencies
Tracks resources (at least, resources that can change because they are on the file system) and
acts as an
UpdateListener to check for changes and notify its listeners.
Start tracking the resource (or return the last modified time of an already tracked resource).
long trackResource(Resource resource)
- Start tracking the resource (or return the last modified time of an already tracked resource). Only file system
resources are tracked. Resources are tracked until any resource changes, at which points
listeners are notified and the internal state
resource - to track
- last modified time, to nearest second
- See Also:
Copyright © 2003-2012 The Apache Software Foundation.