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
UpdateHandler
s.- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this handler is corrupted.void
Marks this handler as corrupted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:UpdateHandler
Marks this handler as corrupted. That should happen, when it hasn't be possible to record an update- Specified by:
recordCorruption
in interfaceUpdateHandler
-
isCorrupted
public boolean isCorrupted()Description copied from interface:UpdateHandler
Checks whether this handler is corrupted. This check should be performed, before the updates are committed to the triple store.- Specified by:
isCorrupted
in interfaceUpdateHandler
- Returns:
-