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 Type
    Method
    Description
    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[])).
    forPath(String path, byte[] data)
    Commit the currently building operation using the given path and data
  • Method Details

    • forPath

      T forPath(String path, byte[] data) throws Exception
      Commit the currently building operation using the given path and data
      Parameters:
      path - the path
      data - 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