com.infoengine.util
Class FileUtils

java.lang.Object
  extended bycom.infoengine.util.FileUtils

public class FileUtils
extends Object


Field Summary
private static long DELAYED_DELETION_INTERVAL
           
private static Thread deletionThread
           
private static Map filesToDeleteToAttemptsMap
           
private static Object lock
           
private static int MAX_DELETION_RETRIES
           
 
Constructor Summary
FileUtils()
           
 
Method Summary
private static void doDelayedDelete(File file)
           
static void removeFile(File file)
           
private static void retryFailedDeletions()
          To be called only from deletionThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELAYED_DELETION_INTERVAL

private static long DELAYED_DELETION_INTERVAL

MAX_DELETION_RETRIES

private static int MAX_DELETION_RETRIES

lock

private static final Object lock

deletionThread

private static Thread deletionThread

filesToDeleteToAttemptsMap

private static Map filesToDeleteToAttemptsMap
Constructor Detail

FileUtils

public FileUtils()
Method Detail

removeFile

public static void removeFile(File file)

doDelayedDelete

private static void doDelayedDelete(File file)

retryFailedDeletions

private static void retryFailedDeletions()
To be called only from deletionThread