Package com.jalios.jstore
Class LogManagerLoadHandler
- java.lang.Object
-
- com.jalios.jstore.LogManagerHandler
-
- com.jalios.jstore.LogManagerLoadHandler
-
- All Implemented Interfaces:
StoreConstants
,org.xml.sax.ContentHandler
public class LogManagerLoadHandler extends LogManagerHandler
This class is the SAX handler which handles the LogEntry when the log is parsed.- Author:
- Olivier Dedieu
-
-
Field Summary
-
Fields inherited from class com.jalios.jstore.LogManagerHandler
locator, maxLineNumber
-
Fields inherited from interface com.jalios.jstore.StoreConstants
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, LOG_DIR_LOG_PREFIX, LOG_DIR_LOG_WORK, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stamp
getGreatestStamp()
Returns the greatest stamp read (this include real stamp but also ID of StorableLogEntry).void
handleLogEntryException(LogEntry logEntry)
This method is called when an exception is caught while processing the entryvoid
processInnerLogEntry(InnerLogEntry logEntry)
Process an InnerLogEntryvoid
processStorableLogEntry(StorableLogEntry logEntry)
Process a StorableLogEntry-
Methods inherited from class com.jalios.jstore.LogManagerHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getMaxLineNumber, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, warning
-
-
-
-
Method Detail
-
getGreatestStamp
public Stamp getGreatestStamp()
Returns the greatest stamp read (this include real stamp but also ID of StorableLogEntry).- Returns:
- the greatest stamp
- Since:
- jcms-4.1
-
processInnerLogEntry
public void processInnerLogEntry(InnerLogEntry logEntry)
Process an InnerLogEntry- Specified by:
processInnerLogEntry
in classLogManagerHandler
- Parameters:
logEntry
- the InnerLogEntry to process- Since:
- jcms-4.0.2
-
processStorableLogEntry
public void processStorableLogEntry(StorableLogEntry logEntry)
Process a StorableLogEntry- Specified by:
processStorableLogEntry
in classLogManagerHandler
- Parameters:
logEntry
- the StorableLogEntry to process- Since:
- jcms-4.0.2
-
handleLogEntryException
public void handleLogEntryException(LogEntry logEntry)
This method is called when an exception is caught while processing the entry- Overrides:
handleLogEntryException
in classLogManagerHandler
- Parameters:
logEntry
- the logEntry- Since:
- jcms-4.0.2
-
-