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