Interface ExistsBuilder

All Superinterfaces:
Backgroundable<ErrorListenerPathable<org.apache.zookeeper.data.Stat>>, BackgroundPathable<org.apache.zookeeper.data.Stat>, ExistsBuilderMain, Pathable<org.apache.zookeeper.data.Stat>, Watchable<BackgroundPathable<org.apache.zookeeper.data.Stat>>, WatchableBase<BackgroundPathable<org.apache.zookeeper.data.Stat>>
All Known Implementing Classes:
ExistsBuilderImpl

public interface ExistsBuilder extends ExistsBuilderMain
  • Method Details

    • creatingParentsIfNeeded

      ACLableExistBuilderMain creatingParentsIfNeeded()
      Causes any parent nodes to get created if they haven't already been
      Returns:
      this
    • creatingParentContainersIfNeeded

      ACLableExistBuilderMain creatingParentContainersIfNeeded()
      Causes any parent nodes to get created using CreateMode.CONTAINER if they haven't already been. IMPORTANT NOTE: container creation is a new feature in recent versions of ZooKeeper. If the ZooKeeper version you're using does not support containers, the parent nodes are created as ordinary PERSISTENT nodes.
      Returns:
      this