Lines Matching defs:tracker
45 * Queue of <code>Tracker</code> instances being watched.
47 ReferenceQueue /* Tracker */ q = new ReferenceQueue();
49 * Collection of <code>Tracker</code> instances in existence.
51 final Collection /* Tracker */ trackers = new Vector(); // synchronized
123 * Adds a tracker to the list of trackers.
138 trackers.add(new Tracker(path, deleteStrategy, marker, q));
202 Tracker tracker = null;
204 // Wait for a tracker to remove.
205 tracker = (Tracker) q.remove();
209 if (tracker != null) {
210 tracker.delete();
211 tracker.clear();
212 trackers.remove(tracker);
222 private static final class Tracker extends PhantomReference {
239 * @param queue the queue on to which the tracker will be pushed, not null
241 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue queue) {
248 * Deletes the file associated with this tracker instance.