Kezhu Wang created CURATOR-689:
----------------------------------
Summary: Guard create/setData/delete with lock path
Key: CURATOR-689
URL: https://issues.apache.org/jira/browse/CURATOR-689
Project: Apache Curator
Issue Type: New Feature
Components: Framework
Affects Versions: 5.6.0
Reporter: Kezhu Wang
Curator has several lock recipes({{LeaderLatch}}, {{InterProcessMutex}} and
etc.), but it has no simple intuitive method to guard modification under lock
path. I am certain that {{CuratorFramework.transaction}} is capable of this,
but I still want a simple way to archive this.
I implemented one before in
[rust|https://docs.rs/zookeeper-client/0.6.1/zookeeper_client/struct.LockClient.html#method.create],
but it might be relative hard to it to cooperate well with existing
`CreateBuilder`, 'SetDataBuilder` and `DeleteBuilder`.
It need time to explore, post it here for memories.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)