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
Modifier and TypeMethodDescriptionCommit 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[])).Commit the currently building operation using the given path and data
-
Method Details
-
forPath
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
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:
Exception- errors
-