Lines Matching refs:file

3  * contributor license agreements.  See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
25 * This utility creates a background thread to handle file deletion.
26 * Each file to be deleted is registered with a handler object.
27 * When the handler object is garbage collected, the file is deleted.
49 * Track the specified file, using the provided marker, deleting the file
53 * @param file the file to be tracked, not null
54 * @param marker the marker object used to track the file, not null
55 * @throws NullPointerException if the file is null
59 public static void track(File file, Object marker) {
60 theInstance.track(file, marker);
64 * Track the specified file, using the provided marker, deleting the file
68 * @param file the file to be tracked, not null
69 * @param marker the marker object used to track the file, not null
70 * @param deleteStrategy the strategy to delete the file, null means normal
71 * @throws NullPointerException if the file is null
75 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
76 theInstance.track(file, marker, deleteStrategy);
80 * Track the specified file, using the provided marker, deleting the file
84 * @param path the full path to the file to be tracked, not null
85 * @param marker the marker object used to track the file, not null
95 * Track the specified file, using the provided marker, deleting the file
99 * @param path the full path to the file to be tracked, not null
100 * @param marker the marker object used to track the file, not null
101 * @param deleteStrategy the strategy to delete the file, null means normal
124 * Call this method to cause the file cleaner thread to terminate when
127 * In a simple environment, you don't need this method as the file cleaner
130 * aware that the file cleaner thread will continue running even if the class
134 * contains the commons-io jar file in your WEB-INF/lib directory. In other
137 * container is still running, then the file cleaner thread will still exist,
142 * One called, no new objects can be tracked by the file cleaner.