@Override synchronized public void abort() { super.abort(); // discard the write sets. getIndexManager().abort(); }
@Override synchronized public void abort() { super.abort(); // discard the write sets. getIndexManager().abort(); }
/** * Delegates the operation to the backing store. */ @Override synchronized public long commit() { final long begin = System.currentTimeMillis(); super.commit(); final IIndexManager indexManager = getIndexManager(); if (indexManager.isGroupCommit()) { /* * Note: GROUP_COMMIT (#566) requires that the WriteExecutorService * controls when commit points are melded. If group commit is enabled * and the index manager is directs the Journal to commit() then any * partially executed tasks that have checkpointed indices will be * immediately flushed to the backing store, breaking the ACID * semantics of the commit. * * Note: The checkpoint of the indices for an unisolated AbstractTask * occurs when the task is done with its work but is still holding any * resource locks. */ return 0L; } final long commitTime = getIndexManager().commit(); final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("commit: commit latency=" + elapsed + "ms"); return commitTime; }
/** * Delegates the operation to the backing store. */ @Override synchronized public long commit() { final long begin = System.currentTimeMillis(); super.commit(); final IIndexManager indexManager = getIndexManager(); if (indexManager.isGroupCommit()) { /* * Note: GROUP_COMMIT (#566) requires that the WriteExecutorService * controls when commit points are melded. If group commit is enabled * and the index manager is directs the Journal to commit() then any * partially executed tasks that have checkpointed indices will be * immediately flushed to the backing store, breaking the ACID * semantics of the commit. * * Note: The checkpoint of the indices for an unisolated AbstractTask * occurs when the task is done with its work but is still holding any * resource locks. */ return 0L; } final long commitTime = getIndexManager().commit(); final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("commit: commit latency=" + elapsed + "ms"); return commitTime; }
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
private void endTest(BigdataSailRepositoryConnection cxn) throws Exception { cxn.close(); cxn.getTripleStore().close(); IJournal store = ((LocalTripleStore)cxn.getTripleStore()).getIndexManager(); store.shutdownNow(); store.destroy(); }
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
final File file = ((LocalTripleStore) store).getIndexManager().getFile();
private void endTest(BigdataSailRepositoryConnection cxn) throws Exception { cxn.close(); cxn.getTripleStore().close(); IJournal store = ((LocalTripleStore)cxn.getTripleStore()).getIndexManager(); store.shutdownNow(); store.destroy(); }