Interface PathAndBytesable<T>

    • 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 path
        data - 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 via CuratorFrameworkFactory.Builder.defaultData(byte[])).
        Parameters:
        path - the path
        Returns:
        operation result if any
        Throws:
        java.lang.Exception - errors