/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | TwoPhaseCommit.java | 35 * 2-phase commit fails, {@link #rollback()} is called to discard all changes 75 public void rollback() throws IOException; method in interface:TwoPhaseCommit
|
H A D | TwoPhaseCommitTool.java | 63 public void rollback() throws IOException { method in class:TwoPhaseCommitTool.TwoPhaseCommitWrapper 64 tpc.rollback(); 94 /** rollback all objects, discarding any exceptions that occur. */ 95 private static void rollback(TwoPhaseCommit... objects) { method in class:TwoPhaseCommitTool 97 // ignore any exception that occurs during rollback - we want to ensure 101 tpc.rollback(); 112 * {@link TwoPhaseCommit#rollback()} all of them. 115 * already successfully committed. This tool will still issue a rollback 140 // first object that fails results in rollback all of them and 142 rollback(object [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | TestTwoPhaseCommitTool.java | 67 public void rollback() throws IOException { method in class:TestTwoPhaseCommitTool.TwoPhaseCommitImpl 93 // tests that rollback is called if failure occurs at any stage 112 // if any failure happened, ensure that rollback was called on all. 114 assertTrue("rollback was not called while a failure occurred during the 2-phase commit", tpc.rollbackCalled);
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | DIHWriter.java | 50 public void rollback(); method in interface:DIHWriter
|
H A D | SolrWriter.java | 110 public void rollback() { method in class:SolrWriter 112 RollbackUpdateCommand rollback = new RollbackUpdateCommand(); 113 processor.processRollback(rollback); 115 log.error("Exception while solr rollback.", t);
|
H A D | DocBuilder.java | 238 rollback(); 297 void rollback() { method in class:DocBuilder 298 writer.rollback();
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | TestTwoPhaseCommitTool.java | 67 public void rollback() throws IOException { method in class:TestTwoPhaseCommitTool.TwoPhaseCommitImpl 93 // tests that rollback is called if failure occurs at any stage 112 // if any failure happened, ensure that rollback was called on all. 114 assertTrue("rollback was not called while a failure occurred during the 2-phase commit", tpc.rollbackCalled);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/ |
H A D | SolrIndexWriter.java | 154 public void rollback() throws IOException { method in class:SolrIndexWriter 156 super.rollback();
|
H A D | DirectUpdateHandler.java | 280 public void rollback(RollbackUpdateCommand cmd) throws IOException { method in class:DirectUpdateHandler 282 "DirectUpdateHandler doesn't support rollback. Use DirectUpdateHandler2 instead.");
|
H A D | DirectUpdateHandler2.java | 191 if (writer!=null) writer.rollback(); 454 public void rollback(RollbackUpdateCommand cmd) throws IOException { method in class:DirectUpdateHandler2
|
H A D | UpdateHandler.java | 138 public abstract void rollback(RollbackUpdateCommand cmd) throws IOException; method in class:UpdateHandler
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/ |
H A D | SolrServer.java | 209 * Performs a rollback of all non-committed documents pending. 211 * Note that this is not a true rollback as in databases. Content you have previously 217 public UpdateResponse rollback() throws SolrServerException, IOException { method in class:SolrServer 218 return new UpdateRequest().rollback().process( this );
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/ |
H A D | AbstractUpdateRequest.java | 76 public AbstractUpdateRequest rollback() { method in class:AbstractUpdateRequest
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/directory/ |
H A D | DirectoryTaxonomyWriter.java | 1093 public void rollback() throws IOException { method in class:DirectoryTaxonomyWriter 1095 indexWriter.rollback(); 1096 // since IndexWriter.rollback() closes the IW instance, we should close too.
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | IndexWriter.java | 137 #rollback()}, to undo any changes to the index since the 138 last commit. You can also just call {@link #rollback()} 1026 * <p>This operation is similar to {@link #rollback()}, 1027 * except that method can only rollback what's been done 1029 * commit, whereas this method can rollback to an 2819 public void rollback() throws IOException { method in class:IndexWriter 2832 message("rollback"); 2842 message("rollback: done finish merges"); 2869 message("rollback: infos=" + segString(segmentInfos)); 2874 assert testPoint("rollback befor [all...] |