Interface TransactionCreateBuilder<T>
-
- All Superinterfaces:
ACLable<PathAndBytesable<T>>,ACLCreateModePathAndBytesable<T>,ACLPathAndBytesable<T>,Compressible<ACLCreateModePathAndBytesable<T>>,CreateModable<ACLPathAndBytesable<T>>,ParentACLable<PathAndBytesable<T>>,PathAndBytesable<T>,TransactionCreateBuilder2<T>
public interface TransactionCreateBuilder<T> extends TransactionCreateBuilder2<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionCreateBuilder2<T>withTtl(long ttl)Specify a TTL when mode isCreateMode.PERSISTENT_WITH_TTLorCreateMode.PERSISTENT_SEQUENTIAL_WITH_TTL.-
Methods inherited from interface org.apache.curator.framework.api.Compressible
compressed
-
Methods inherited from interface org.apache.curator.framework.api.CreateModable
withMode
-
Methods inherited from interface org.apache.curator.framework.api.ParentACLable
withACL
-
Methods inherited from interface org.apache.curator.framework.api.PathAndBytesable
forPath, forPath
-
-
-
-
Method Detail
-
withTtl
TransactionCreateBuilder2<T> withTtl(long ttl)
Specify a TTL when mode isCreateMode.PERSISTENT_WITH_TTLorCreateMode.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
-
-