Class AbstractNotifyingSailConnection
java.lang.Object
org.eclipse.rdf4j.sail.helpers.AbstractSailConnection
org.eclipse.rdf4j.sail.helpers.AbstractNotifyingSailConnection
- All Implemented Interfaces:
 AutoCloseable, NotifyingSailConnection, SailConnection
- Direct Known Subclasses:
 SailSourceConnection
public abstract class AbstractNotifyingSailConnection
extends AbstractSailConnection
implements NotifyingSailConnection
Abstract Class offering base functionality for SailConnection implementations.
- Author:
 - Arjohn Kampman, Jeen Broekstra
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnectionListener(SailConnectionListener listener) Registers a SailConnection listener with this SailConnection.protected booleanprotected voidDeprecated, for removal: This API element is subject to removal in a future version.protected voidnotifyStatementAdded(Statement st, boolean inferred) protected voidDeprecated, for removal: This API element is subject to removal in a future version.protected voidnotifyStatementRemoved(Statement st, boolean inferred) voidDeregisters a SailConnection listener with this SailConnection.Methods inherited from class AbstractSailConnection
addStatement, addStatement, addStatementInternal, autoStartTransaction, begin, begin, bulkAddStatementsInternal, clear, clearInternal, clearNamespaces, clearNamespacesInternal, close, closeInternal, commit, commitInternal, endUpdate, endUpdateInternal, evaluate, evaluateInternal, flush, getContextIDs, getContextIDsInternal, getNamespace, getNamespaceInternal, getNamespaces, getNamespacesInternal, getOwner, getSailBase, getStatements, getStatements, getStatementsInternal, getStatementsInternal, getTransactionIsolation, hasActiveIterations, hasStatement, hasStatementInternal, isActive, isActiveOperation, isOpen, iterationClosed, pendingAdds, prepare, prepareInternal, registerIteration, removeNamespace, removeNamespaceInternal, removeStatement, removeStatements, removeStatementsInternal, rollback, rollbackInternal, setNamespace, setNamespaceInternal, setStatementsAdded, setStatementsRemoved, size, sizeInternal, startTransactionInternal, startUpdate, transactionActive, verifyIsActive, verifyIsOpen, waitForOtherOperationsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SailConnection
addStatement, addStatement, begin, begin, clear, clearNamespaces, close, commit, endUpdate, evaluate, explain, flush, getComparator, getContextIDs, getNamespace, getNamespaces, getStatements, getStatements, getSupportedOrders, hasStatement, isActive, isOpen, prepare, prepareQuery, removeNamespace, removeStatement, removeStatements, rollback, setNamespace, setTransactionSettings, size, startUpdate 
- 
Constructor Details
- 
AbstractNotifyingSailConnection
 
 - 
 - 
Method Details
- 
addConnectionListener
Description copied from interface:NotifyingSailConnectionRegisters a SailConnection listener with this SailConnection. The listener should be notified of any statements that are added or removed as part of this SailConnection.- Specified by:
 addConnectionListenerin interfaceNotifyingSailConnection- Parameters:
 listener- A SailConnectionListener.
 - 
removeConnectionListener
Description copied from interface:NotifyingSailConnectionDeregisters a SailConnection listener with this SailConnection.- Specified by:
 removeConnectionListenerin interfaceNotifyingSailConnection- Parameters:
 listener- A SailConnectionListener.
 - 
hasConnectionListeners
protected boolean hasConnectionListeners() - 
notifyStatementAdded
Deprecated, for removal: This API element is subject to removal in a future version. - 
notifyStatementAdded
 - 
notifyStatementRemoved
Deprecated, for removal: This API element is subject to removal in a future version. - 
notifyStatementRemoved
 
 -