public interface PathAndBytesable<T>
Modifier and Type | Method and Description |
---|---|
T |
forPath(java.lang.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(java.lang.String path,
byte[] data)
Commit the currently building operation using the given path and data
|
T forPath(java.lang.String path, byte[] data) throws java.lang.Exception
path
- the pathdata
- the datajava.lang.Exception
- errorsT forPath(java.lang.String path) throws java.lang.Exception
CuratorFrameworkFactory.Builder#defaultData(byte[])
).path
- the pathjava.lang.Exception
- errors