congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TransactionOutcome
Code IndexAdd Tabnine to your IDE (free)

How to use
TransactionOutcome
in
com.palantir.atlasdb.transaction.impl.metrics

Best Java code snippets using com.palantir.atlasdb.transaction.impl.metrics.TransactionOutcome (Showing top 2 results out of 315)

origin: palantir/atlasdb

  @VisibleForTesting
  MetricName getMetricName(TransactionOutcome outcome, Map<String, String> safeTags) {
    return MetricName.builder()
        .safeName(MetricRegistry.name(TransactionOutcomeMetrics.class, outcome.name()))
        .putAllSafeTags(safeTags)
        .build();
  }
}
origin: com.palantir.atlasdb/atlasdb-impl-shared

  @VisibleForTesting
  MetricName getMetricName(TransactionOutcome outcome, Map<String, String> safeTags) {
    return MetricName.builder()
        .safeName(MetricRegistry.name(TransactionOutcomeMetrics.class, outcome.name()))
        .putAllSafeTags(safeTags)
        .build();
  }
}
com.palantir.atlasdb.transaction.impl.metricsTransactionOutcome

Javadoc

A TransactionOutcome describes an outcome resulting from a transaction. Note that a single transaction can cause multiple outcomes (for example, a transaction that rolls back two other transactions and then successfully commits will log one SUCCESSFUL_COMMIT outcome and two ROLLBACK_OTHER outcomes). Transactions that make it to commit time should log either SUCCESSFUL_COMMIT or FAILED_COMMIT. In addition to this, various failure modes are tracked; if a transaction failed for multiple reasons, then we do not make guarantees on which specific outcome(s) that transaction emits. We guarantee that the transaction emits at least one outcome that is relevant.

Most used methods

  • name

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Reference (javax.naming)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top 17 Free Sublime Text Plugins
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