Home
last modified time | relevance | path

Searched refs:deleteStrategy (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileCleaningTracker.java85 public void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { in track() argument
89 addTracker(file.getPath(), marker, deleteStrategy); in track() local
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { in track() argument
119 addTracker(path, marker, deleteStrategy); in track()
129 …ivate synchronized void addTracker(String path, Object marker, FileDeleteStrategy deleteStrategy) { in addTracker() argument
138 trackers.add(new Tracker(path, deleteStrategy, marker, q)); in addTracker()
232 private final FileDeleteStrategy deleteStrategy; field in FileCleaningTracker.Tracker
242 …Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queu… in Tracker() argument
245 … this.deleteStrategy = (deleteStrategy == null ? FileDeleteStrategy.NORMAL : deleteStrategy); in Tracker()
255 return deleteStrategy.deleteQuietly(new File(path)); in delete()
DFileCleaner.java75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) { in track() argument
76 theInstance.track(file, marker, deleteStrategy); in track()
106 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { in track() argument
107 theInstance.track(path, marker, deleteStrategy); in track()