Package com.jalios.jstore
Class LogManagerSyncHandler
- java.lang.Object
-
- com.jalios.jstore.LogManagerHandler
-
- com.jalios.jstore.LogManagerSyncHandler
-
- All Implemented Interfaces:
StoreConstants,org.xml.sax.ContentHandler
public class LogManagerSyncHandler extends LogManagerHandler
This class is the LogManagerHandler which handles the LogEntry when the log is parsed to get the storable ids created or mutated since the given sync stamp.- 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
-
-
Constructor Summary
Constructors Constructor Description LogManagerSyncHandler(Stamp syncStamp)LogManagerSyncHandler(Stamp syncStamp, boolean removeCUDSeq, StampTable progressTable)LogManagerSyncHandler(Stamp syncStamp, StampTable st)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.TreeMap<java.lang.String,java.util.List<StorableLogEntry>>getDataMap()LogEntrygetGreatestCommonLogEntry()java.util.ArrayList<StorableLogEntry>getLogEntryList()intgetOpCount()java.util.TreeMap<java.lang.String,java.util.TreeSet<StorableLogEntry>>getOpMap()voidprocessInnerLogEntry(InnerLogEntry logEntry)Process an InnerLogEntryvoidprocessStorableLogEntry(StorableLogEntry logEntry)Process a StorableLogEntry-
Methods inherited from class com.jalios.jstore.LogManagerHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getMaxLineNumber, handleLogEntryException, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, warning
-
-
-
-
Constructor Detail
-
LogManagerSyncHandler
public LogManagerSyncHandler(Stamp syncStamp)
-
LogManagerSyncHandler
public LogManagerSyncHandler(Stamp syncStamp, StampTable st)
-
LogManagerSyncHandler
public LogManagerSyncHandler(Stamp syncStamp, boolean removeCUDSeq, StampTable progressTable)
-
-
Method Detail
-
getOpMap
public java.util.TreeMap<java.lang.String,java.util.TreeSet<StorableLogEntry>> getOpMap()
-
getDataMap
public java.util.TreeMap<java.lang.String,java.util.List<StorableLogEntry>> getDataMap()
-
getLogEntryList
public java.util.ArrayList<StorableLogEntry> getLogEntryList()
-
getOpCount
public int getOpCount()
-
getGreatestCommonLogEntry
public LogEntry getGreatestCommonLogEntry()
-
processInnerLogEntry
public void processInnerLogEntry(InnerLogEntry logEntry)
Process an InnerLogEntry- Specified by:
processInnerLogEntryin classLogManagerHandler- Parameters:
logEntry- the InnerLogEntry to process- Since:
- jcms-4.0.2
-
processStorableLogEntry
public void processStorableLogEntry(StorableLogEntry logEntry)
Process a StorableLogEntry- Specified by:
processStorableLogEntryin classLogManagerHandler- Parameters:
logEntry- the StorableLogEntry to process- Since:
- jcms-4.0.2
-
-