public String createEphemeralSequential(final String path, final Object data) throws ZkInterruptedException,
                                                                                 IllegalArgumentException, ZkException,
                                                                                 RuntimeException {
        return create(path, data, CreateMode.EPHEMERAL_SEQUENTIAL);
    }
public String createEphemeralSequential ( final String path , final Object data ) throws ZkInterruptedException , IllegalArgumentException , ZkException , RuntimeException { return create ( path , data , CreateMode . EPHEMERAL_SEQUENTIAL ) ; }
Create an ephemeral, sequential node.

@param path
@param data
@return created path
@throws ZkInterruptedException if operation was interrupted, or a required reconnection got interrupted
@throws IllegalArgumentException if called from anything except the ZooKeeper event thread
@throws ZkException if any ZooKeeper exception occurred
@throws RuntimeException if any other exception occurs