@Override public void close() throws SailException { try { super.close(); } finally { try { // flush observer regardless of consistency observer.flush(); } finally { observer.close(); } } }
@Override public CloseableIteration<? extends Statement, SailException> getStatements( Resource subj, IRI pred, Value obj, Resource... contexts) throws SailException { observer.observe(subj, pred, obj, contexts); return super.getStatements(subj, pred, obj, contexts); }
@Override public CloseableIteration<? extends Resource, SailException> getContextIDs() throws SailException { observer.observe(null, null, null); return super.getContextIDs(); }