public class CleanupQueue
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CleanupQueue.PathDeletionContext
Contains info related to the path of the file/dir to be deleted
|
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Modifier | Constructor and Description |
---|---|
protected |
CleanupQueue()
Create a singleton path-clean-up queue.
|
Modifier and Type | Method and Description |
---|---|
void |
addToQueue(CleanupQueue.PathDeletionContext... contexts)
Adds the paths to the queue of paths to be deleted by cleanupThread.
|
static CleanupQueue |
getInstance() |
protected boolean |
isQueueEmpty() |
protected CleanupQueue()
addToQueue(PathDeletionContext...)
to add paths for
deletion.public static CleanupQueue getInstance()
public void addToQueue(CleanupQueue.PathDeletionContext... contexts)
protected boolean isQueueEmpty()
Copyright © 2009 The Apache Software Foundation