Searched refs:exitWhenFinished (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Email/src/org/apache/commons/io/
H A DFileCleaner.java32 * {@link #exitWhenFinished}, typically in
137 * @deprecated Use {@link FileCleaningTracker#exitWhenFinished()}.
139 public static synchronized void exitWhenFinished() { method in class:FileCleaner
140 theInstance.exitWhenFinished();
H A DFileCleaningTracker.java36 * {@link #exitWhenFinished}, typically in
55 volatile boolean exitWhenFinished = false; field in class:FileCleaningTracker
131 if (exitWhenFinished) {
132 throw new IllegalStateException("No new trackers can be added once exitWhenFinished() is called");
173 public synchronized void exitWhenFinished() { method in class:FileCleaningTracker
175 exitWhenFinished = true;
201 // thread exits when exitWhenFinished is true and there are no more tracked objects
202 while (exitWhenFinished == false || trackers.size() > 0) {

Completed in 59 milliseconds