|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Caching.Logging
Method Summary | |
boolean |
addAddMessToLogFile(BufferEntry entry)
Add an "add" message to the log file. |
boolean |
addDeleteMessToLogFile(BufferEntry entry)
Add a "delete" message to the log file. |
boolean |
addDeleteMessToLogFile(java.lang.String url)
Add a "delete" message to the log file. |
boolean |
addUpdateMessToLogFile(BufferEntry entry)
Add an "update" message to the log file |
static Logging |
getInstance()
Get an instance of this Log. |
boolean |
merge()
Merge the contents of the CacheIndexF and the log |
java.util.Hashtable |
readMasterFile()
Reads the cacheIndexF file from disk into memory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Logging getInstance()
public boolean merge()
public java.util.Hashtable readMasterFile() throws java.io.IOException, java.io.FileNotFoundException, java.text.ParseException
public boolean addDeleteMessToLogFile(java.lang.String url)
public boolean addDeleteMessToLogFile(BufferEntry entry)
public boolean addAddMessToLogFile(BufferEntry entry)
public boolean addUpdateMessToLogFile(BufferEntry entry)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |