Class TxnOption

java.lang.Object
io.etcd.jetcd.options.TxnOption

public final class TxnOption extends Object
  • Field Details

    • DEFAULT

      public static final TxnOption DEFAULT
  • Method Details

    • isAutoRetry

      public boolean isAutoRetry()
      Whether to treat a txn operation as idempotent from the point of view of automated retries.
      Returns:
      true if automated retries should happen.
    • builder

      public static TxnOption.Builder builder()
      Returns the builder.
      Returns:
      the builder