138139140141142143144145146147148
catch (QueryEvaluationException e) { readLock.release(); throw new SailException(e); } catch (RuntimeException e) { readLock.release(); throw e; } } protected void replaceValues(TupleExpr tupleExpr)
214215216217218219220221222223224
} } }; } catch (IOException e) { readLock.release(); throw new SailException(e); } catch (RuntimeException e) { readLock.release(); throw e;
218219220221222223224225226227228
catch (IOException e) { readLock.release(); throw new SailException(e); } catch (RuntimeException e) { readLock.release(); throw e; } } @Override
255256257258259260261262263264265
} } }; } catch (IOException e) { readLock.release(); throw new SailException("Unable to get statements", e); } catch (RuntimeException e) { readLock.release(); throw e;
259260261262263264265266267268269
catch (IOException e) { readLock.release(); throw new SailException("Unable to get statements", e); } catch (RuntimeException e) { readLock.release(); throw e; } } @Override
303304305306307308309310311312313
} catch (IOException e) { throw new SailException(e); } finally { readLock.release(); } } @Override protected CloseableIteration<? extends Namespace, SailException> getNamespacesInternal()
318319320321322323324325326327328
return new LockingIteration<NamespaceImpl, SailException>( readLock, new IteratorIteration<NamespaceImpl, SailException>(nativeStore.getNamespaceStore().iterator())); } catch (RuntimeException e) { readLock.release(); throw e; } } @Override
332333334335336337338339340341342
Lock readLock = nativeStore.getReadLock(); try { return nativeStore.getNamespaceStore().getNamespace(prefix); } finally { readLock.release(); } } @Override protected void startTransactionInternal()
367368369370371372373374375376377
} catch (IOException e) { throw new SailException(e); } finally { storeReadLock.release(); } nativeStore.notifySailChanged(sailChangedEvent); // create a fresh event object.
391392393394395396397398399400401
catch (IOException e) { throw new SailException(e); } finally { txnLock.release(); storeReadLock.release(); } } @Override protected void addStatementInternal(Resource subj, URI pred, Value obj, Resource... contexts)