public class AsynchronousDirectoryContentsCleaner extends Object
Constructor and Description |
---|
AsynchronousDirectoryContentsCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
startCleaningDirectory(Path pathToClean)
Starts cleaning the configured directory in the background.
|
public AsynchronousDirectoryContentsCleaner()
public void startCleaningDirectory(Path pathToClean)
Multiple calls to this method will be serialized, so only one instance of directory cleaning will occur at a time.