Lines Matching refs:marker

27  * marker object is reclaimed by the garbage collector.
63 * Track the specified file, using the provided marker, deleting the file
64 * when the marker instance is garbage collected.
68 * @param marker the marker object used to track the file, not null
71 public void track(File file, Object marker) {
72 track(file, marker, (FileDeleteStrategy) null);
76 * Track the specified file, using the provided marker, deleting the file
77 * when the marker instance is garbage collected.
81 * @param marker the marker object used to track the file, not null
85 public void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
89 addTracker(file.getPath(), marker, deleteStrategy);
93 * Track the specified file, using the provided marker, deleting the file
94 * when the marker instance is garbage collected.
98 * @param marker the marker object used to track the file, not null
101 public void track(String path, Object marker) {
102 track(path, marker, (FileDeleteStrategy) null);
106 * Track the specified file, using the provided marker, deleting the file
107 * when the marker instance is garbage collected.
111 * @param marker the marker object used to track the file, not null
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
119 addTracker(path, marker, deleteStrategy);
126 * @param marker the marker object used to track the file, not null
129 private synchronized void addTracker(String path, Object marker, FileDeleteStrategy deleteStrategy) {
138 trackers.add(new Tracker(path, deleteStrategy, marker, q));
197 * marker objects are reclaimed by the garbage collector.
239 * @param marker the marker object used to track the file, not null
242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) {
243 super(marker, queue);