public interface PathAndBytesable<T>
Modifier and Type | Method and Description |
---|---|
T |
forPath(String path)
Commit the currently building operation using the given path and the default data
for the client (usually a byte[0] unless changed via
CuratorFrameworkFactory.Builder#defaultData(byte[]) ). |
T |
forPath(String path,
byte[] data)
Commit the currently building operation using the given path and data
|
T forPath(String path, byte[] data) throws Exception
path
- the pathdata
- the dataException
- errorsT forPath(String path) throws Exception
CuratorFrameworkFactory.Builder#defaultData(byte[])
).path
- the pathException
- errorsCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.