com.netflix.curator.framework.api
Interface PathAndBytesable<T>
- All Known Subinterfaces:
- ACLBackgroundPathAndBytesable<T>, ACLCreateModeBackgroundPathAndBytesable<T>, ACLCreateModePathAndBytesable<T>, ACLPathAndBytesable<T>, BackgroundPathAndBytesable<T>, CreateBuilder, CreateModalPathAndBytesable<T>, SetDataBuilder
public interface PathAndBytesable<T>
|
Method Summary |
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 |
forPath
T forPath(String path,
byte[] data)
throws Exception
- Commit the currently building operation using the given path and data
- Parameters:
path - the pathdata - the data
- Returns:
- operation result if any
- Throws:
Exception - errors
forPath
T forPath(String path)
throws Exception
- 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[])).
- Parameters:
path - the path
- Returns:
- operation result if any
- Throws:
Exception - errors
Copyright © 2012. All Rights Reserved.