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>>
,WatchableBase<BackgroundPathable<org.apache.zookeeper.data.Stat>>
- All Known Implementing Classes:
ExistsBuilderImpl
-
Method Summary
Modifier and TypeMethodDescriptionCauses any parent nodes to get created usingCreateMode.CONTAINER
if they haven't already been.Causes any parent nodes to get created if they haven't already beenMethods inherited from interface org.apache.curator.framework.api.Backgroundable
inBackground, inBackground, inBackground, inBackground, inBackground, inBackground
Methods inherited from interface org.apache.curator.framework.api.WatchableBase
usingWatcher, usingWatcher
-
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 usingCreateMode.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
-