public interface TransactionCreateBuilder<T> extends TransactionCreateBuilder2<T>
|Modifier and Type||Method and Description|
Specify a TTL when mode is
TransactionCreateBuilder2<T> withTtl(long ttl)
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.
ttl- the ttl
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.