Package org.apache.curator.framework.api
Interface PathAndBytesable<T>
-
- All Known Subinterfaces:
ACLBackgroundPathAndBytesable<T>,ACLCreateModeBackgroundPathAndBytesable<T>,ACLCreateModePathAndBytesable<T>,ACLCreateModeStatBackgroundPathAndBytesable<T>,ACLPathAndBytesable<T>,BackgroundPathAndBytesable<T>,CreateBackgroundModeACLable,CreateBackgroundModeStatACLable,CreateBuilder,CreateBuilder2,CreateBuilderMain,CreateProtectACLCreateModePathAndBytesable<T>,ErrorListenerPathAndBytesable<T>,ProtectACLCreateModePathAndBytesable<T>,ProtectACLCreateModeStatPathAndBytesable<T>,SetDataBackgroundVersionable,SetDataBuilder,TransactionCreateBuilder<T>,TransactionCreateBuilder2<T>,TransactionSetDataBuilder<T>,VersionPathAndBytesable<T>
- All Known Implementing Classes:
CreateBuilderImpl,SetDataBuilderImpl
public interface PathAndBytesable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TforPath(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 viaCuratorFrameworkFactory.Builder.defaultData(byte[])).TforPath(java.lang.String path, byte[] data)Commit the currently building operation using the given path and data
-
-
-
Method Detail
-
forPath
T forPath(java.lang.String path, byte[] data) throws java.lang.Exception
Commit the currently building operation using the given path and data- Parameters:
path- the pathdata- the data- Returns:
- operation result if any
- Throws:
java.lang.Exception- errors
-
forPath
T forPath(java.lang.String path) throws java.lang.Exception
Commit the currently building operation using the given path and the default data for the client (usually a byte[0] unless changed viaCuratorFrameworkFactory.Builder.defaultData(byte[])).- Parameters:
path- the path- Returns:
- operation result if any
- Throws:
java.lang.Exception- errors
-
-