예제 #1
0
 @Override
 public void close() throws SailException {
   try {
     super.close();
   } finally {
     try {
       // flush observer regardless of consistency
       observer.flush();
     } finally {
       observer.close();
     }
   }
 }
예제 #2
0
 @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);
 }
예제 #3
0
 @Override
 public CloseableIteration<? extends Resource, SailException> getContextIDs()
     throws SailException {
   observer.observe(null, null, null);
   return super.getContextIDs();
 }