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.
48 * Track the specified file, using the provided marker, deleting the file
52 * @param file the file to be tracked, not null
53 * @param marker the marker object used to track the file, not null
54 * @throws NullPointerException if the file is null
57 public static void track(File file, Object marker) {
58 theInstance.track(file, marker);
62 * Track the specified file, using the provided marker, deleting the file
66 * @param file the file to be tracked, not null
67 * @param marker the marker object used to track the file, not null
68 * @param deleteStrategy the strategy to delete the file, null means normal
69 * @throws NullPointerException if the file is null
72 public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
73 theInstance.track(file, marker, deleteStrategy);
77 * Track the specified file, using the provided marker, deleting the file
81 * @param path the full path to the file to be tracked, not null
82 * @param marker the marker object used to track the file, not null
91 * Track the specified file, using the provided marker, deleting the file
95 * @param path the full path to the file to be tracked, not null
96 * @param marker the marker object used to track the file, not null
97 * @param deleteStrategy the strategy to delete the file, null means normal
118 * Call this method to cause the file cleaner thread to terminate when
121 * In a simple environment, you don't need this method as the file cleaner
124 * aware that the file cleaner thread will continue running even if the class
128 * contains the commons-io jar file in your WEB-INF/lib directory. In other
131 * container is still running, then the file cleaner thread will still exist,
136 * One called, no new objects can be tracked by the file cleaner.