Package io.etcd.jetcd.options
Class TxnOption
java.lang.Object
io.etcd.jetcd.options.TxnOption
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TxnOption.Builderbuilder()Returns the builder.booleanWhether to treat a txn operation as idempotent from the point of view of automated retries.
-
Field Details
-
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
Returns the builder.- Returns:
- the builder
-