|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.CleanupQueue
public class CleanupQueue
Nested Class Summary | |
---|---|
static class |
CleanupQueue.PathDeletionContext
Contains info related to the path of the file/dir to be deleted |
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Constructor Summary | |
---|---|
protected |
CleanupQueue()
Create a singleton path-clean-up queue. |
Method Summary | |
---|---|
void |
addToQueue(CleanupQueue.PathDeletionContext... contexts)
Adds the paths to the queue of paths to be deleted by cleanupThread. |
static CleanupQueue |
getInstance()
|
protected boolean |
isQueueEmpty()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
protected CleanupQueue()
addToQueue(PathDeletionContext...)
to add paths for
deletion.
Method Detail |
---|
public static CleanupQueue getInstance()
public void addToQueue(CleanupQueue.PathDeletionContext... contexts)
protected boolean isQueueEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |