Package org.apache.curator.framework.api
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>>
- All Known Implementing Classes:
ExistsBuilderImpl
public interface ExistsBuilder extends ExistsBuilderMain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ACLableExistBuilderMaincreatingParentContainersIfNeeded()Causes any parent nodes to get created usingCreateMode.CONTAINERif they haven't already been.ACLableExistBuilderMaincreatingParentsIfNeeded()Causes any parent nodes to get created if they haven't already been-
Methods inherited from interface org.apache.curator.framework.api.Backgroundable
inBackground, inBackground, inBackground, inBackground, inBackground, inBackground
-
Methods inherited from interface org.apache.curator.framework.api.Watchable
usingWatcher, usingWatcher, watched
-
-
-
-
Method Detail
-
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 usingCreateMode.CONTAINERif 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
-
-