congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JepsenHistoryChecker.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.palantir.atlasdb.jepsen.JepsenHistoryChecker
constructor

Best Java code snippets using com.palantir.atlasdb.jepsen.JepsenHistoryChecker.<init> (Showing top 3 results out of 315)

origin: palantir/atlasdb

  @VisibleForTesting
  static JepsenHistoryChecker createWithCheckers(List<Supplier<Checker>> checkers) {
    return new JepsenHistoryChecker(
        checkers.stream()
            .map(Supplier::get)
            .collect(Collectors.toList()));
  }
}
origin: palantir/atlasdb

private Map<Keyword, Object> runJepsenChecker(Checker ... checkers) {
  JepsenHistoryChecker jepsenChecker = new JepsenHistoryChecker(checkers);
  return jepsenChecker.checkClojureHistory(ImmutableList.of(INFO_EVENT));
}
origin: palantir/atlasdb

@Test
public void historyWithUnrecognisedShouldThrow() {
  Checker checker = mock(Checker.class);
  JepsenHistoryChecker jepsenChecker = new JepsenHistoryChecker(checker);
  assertThatThrownBy(() -> jepsenChecker.checkClojureHistory(ImmutableList.of(UNRECOGNISED_EVENT)))
      .isInstanceOf(Exception.class);
}
com.palantir.atlasdb.jepsenJepsenHistoryChecker<init>

Popular methods of JepsenHistoryChecker

  • checkClojureHistory
    Parses a history of events from a Jepsen test of the timestamp service, and verifies that it fits th
  • checkHistory
  • convertClojureHistoryToEventList
  • convertEventListToClojureHistory
  • createClojureMapFromResults
  • getCheckers

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now