Set session ID for lock acquisition operation.
Set the Check-And-Set index. If the index is 0
, Consul will only put the key if it does not already exist.
If the index is non-zero, the key is only set if the index matches the ModifyIndex of that key.
Set the flags. Flags is an value between 0
and 264-1 that can be attached to each entry.
Clients can choose to use this however makes sense for their application.
Set session ID for lock release operation.
Set session ID for lock acquisition operation.
Set the Check-And-Set index. If the index is 0
, Consul will only put the key if it does not already exist.
If the index is non-zero, the key is only set if the index matches the ModifyIndex of that key.
Set the flags. Flags is an value between 0
and 264-1 that can be attached to each entry.
Clients can choose to use this however makes sense for their application.
Set session ID for lock release operation.
Generated using TypeDoc
Options used to put key/value pair to Consul.