Examples of FailureTolerance


Examples of org.jamesii.core.plugins.metadata.FailureTolerance

  /**
   * Tests persistence of configured failure tolerance.
   */
  public void testFailureTolerancePersistence() {
    FailureTolerance oldTolerance = asr.getFailureTolerance();
    asr.setAndStoreFailureTolerance(FailureTolerance.ACCEPT_ALL);
    AlgoSelectionRegistry newASR = new AlgoSelectionRegistry();
    newASR.init();
    assertEquals(FailureTolerance.ACCEPT_ALL, newASR.getFailureTolerance());
    asr.setAndStoreFailureTolerance(oldTolerance);
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.