com.cloudtran.log
Interface ILogDisposer


public interface ILogDisposer

Interface to dispose of a log file. This is called when all the 'persisting' entries in this log file have now been 'persisted'.


Method Summary
 boolean dispose(File logFile)
          Method to dispose a file.
 

Method Detail

dispose

boolean dispose(File logFile)
Method to dispose a file.

Parameters:
logFile - the now-redundant log file. It should be moved from the current directory or deleted. In some cases, you may wish to delay moving this for a few seconds, if the database is not guaranteed to flush data immediately. The parameter is guaranteed to be non-null and refer to an existing file.