Class BaseUpdateHandler
java.lang.Object
it.uniroma2.art.semanticturkey.changetracking.sail.BaseUpdateHandler
- All Implemented Interfaces:
UpdateHandler
- Direct Known Subclasses:
FlagUpdateHandler,LoggingUpdateHandler
Abstract base class of
UpdateHandlers.- Author:
- Manuel Fiorelli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this handler is corrupted.voidMarks this handler as corrupted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.uniroma2.art.semanticturkey.changetracking.sail.UpdateHandler
addStatement, addStatement, clear, clearHandler, clearNamespaces, isReadOnly, removeNamespace, removeStatement, removeStatements, setNamespace
-
Constructor Details
-
BaseUpdateHandler
public BaseUpdateHandler()
-
-
Method Details
-
recordCorruption
public void recordCorruption()Description copied from interface:UpdateHandlerMarks this handler as corrupted. That should happen, when it hasn't be possible to record an update- Specified by:
recordCorruptionin interfaceUpdateHandler
-
isCorrupted
public boolean isCorrupted()Description copied from interface:UpdateHandlerChecks whether this handler is corrupted. This check should be performed, before the updates are committed to the triple store.- Specified by:
isCorruptedin interfaceUpdateHandler- Returns:
-