fun TxnKVOperation(flags: Long? = null, index: Long? = null, key: String? = null, session: String? = null, type: TxnKVVerb? = null, value: String? = null): TxnKVOperation
A function providing a DSL for building io.vertx.ext.consul.TxnKVOperation objects.
Holds operation to apply to the key/value store inside a transaction
flags
- Set the flags attached to this entry. Clients can choose to use this however makes sense for their application.
index
- Set the index used for locking, unlocking, and check-and-set operations.
session
- Set the session used for locking, unlocking, and check-and-set operations.