This is quite similar to my other proposal except that I used polymorphism instead of an enum.
I would expect the wire format to look like what you specify. On Wed, Dec 22, 2010 at 1:00 AM, Henry Robinson <[email protected]> wrote: > A builder API is a bit of a departure from the core ZK API as it stands. > I'd > rather see something like: > > zk_multi_op(List<String> create_paths, List<String> delete_paths, > List<Version> delete_versions, List<String> update_paths, List<String> > update_versions, List<String> update_data); >
