public final CloseableIteration<? extends Statement, SailException> getStatements(Resource subj, URI pred,
Value obj, boolean includeInferred, Resource... contexts)
throws SailException
{
Lock conLock = getSharedConnectionLock();
try {
verifyIsOpen();
return registerIteration(getStatementsInternal(subj, pred, obj, includeInferred, contexts));
}
finally {
conLock.release();
}
}