Package org.apache.lucene.util.TwoPhaseCommitTool

Examples of org.apache.lucene.util.TwoPhaseCommitTool.TwoPhaseCommitWrapper.commit()


    // wrapper should ignore passed commitData
    wrapper.prepareCommit(new HashMap<String, String>());
    assertSame(commitData, impl.prepareCommitData);

    wrapper.commit();
    assertSame(commitData, impl.commitData);

    // wrapper should ignore passed commitData
    wrapper.commit(new HashMap<String, String>());
    assertSame(commitData, impl.commitData);
View Full Code Here


    wrapper.commit();
    assertSame(commitData, impl.commitData);

    // wrapper should ignore passed commitData
    wrapper.commit(new HashMap<String, String>());
    assertSame(commitData, impl.commitData);
  }

  public void testNullTPCs() throws Exception {
    int numObjects = random.nextInt(4) + 3; // between [3, 6]
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.