Package com.attivio.curatorshim
Interface CreateBuilderShim
-
- All Superinterfaces:
org.apache.curator.framework.api.ACLable<org.apache.curator.framework.api.BackgroundPathAndBytesable<java.lang.String>>
,org.apache.curator.framework.api.ACLBackgroundPathAndBytesable<java.lang.String>
,org.apache.curator.framework.api.ACLCreateModeBackgroundPathAndBytesable<java.lang.String>
,org.apache.curator.framework.api.Backgroundable<org.apache.curator.framework.api.ErrorListenerPathAndBytesable<java.lang.String>>
,org.apache.curator.framework.api.BackgroundPathAndBytesable<java.lang.String>
,org.apache.curator.framework.api.Compressible<org.apache.curator.framework.api.CreateBackgroundModeACLable>
,CreateBuilderMainShim
,org.apache.curator.framework.api.CreateModable<org.apache.curator.framework.api.ACLBackgroundPathAndBytesable<java.lang.String>>
,org.apache.curator.framework.api.ParentACLable<org.apache.curator.framework.api.BackgroundPathAndBytesable<java.lang.String>>
,org.apache.curator.framework.api.PathAndBytesable<java.lang.String>
public interface CreateBuilderShim extends CreateBuilderMainShim
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBuilderMainShim
withTtl(long ttl)
Specify a TTL when mode isorg.apache.zookeeper.CreateMode#PERSISTENT_WITH_TTL
ororg.apache.zookeeper.CreateMode#PERSISTENT_SEQUENTIAL_WITH_TTL
.-
Methods inherited from interface org.apache.curator.framework.api.Backgroundable
inBackground, inBackground, inBackground, inBackground, inBackground, inBackground
-
Methods inherited from interface com.attivio.curatorshim.CreateBuilderMainShim
creatingParentContainersIfNeeded, creatingParentsIfNeeded, withProtectedEphemeralSequential, withProtection
-
-
-
-
Method Detail
-
withTtl
CreateBuilderMainShim withTtl(long ttl)
Specify a TTL when mode isorg.apache.zookeeper.CreateMode#PERSISTENT_WITH_TTL
ororg.apache.zookeeper.CreateMode#PERSISTENT_SEQUENTIAL_WITH_TTL
. If the znode has not been modified within the given TTL, it will be deleted once it has no children. The TTL unit is milliseconds and must be greater than 0 and less than or equal to EphemeralType.MAX_TTL.- Parameters:
ttl
- the ttl- Returns:
- this for chaining
-
-