[
https://issues.apache.org/jira/browse/CURATOR-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995835#comment-15995835
]
ASF GitHub Bot commented on CURATOR-407:
----------------------------------------
Github user Randgalt commented on a diff in the pull request:
https://github.com/apache/curator/pull/218#discussion_r114670836
--- Diff:
curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java
---
@@ -77,6 +78,13 @@ public AsyncTransactionCreateBuilder create()
}
@Override
+ public AsyncPathAndBytesable<CuratorOp> withTtl(long ttl)
+ {
+ this.ttl = ttl;
+ return this;
+ }
+
+ @Override
public AsyncPathAndBytesable<CuratorOp> withOptions(CreateMode
createMode, List<ACL> aclList, boolean compressed)
{
this.createMode = Objects.requireNonNull(createMode,
"createMode cannot be null");
--- End diff --
Yeah - that's true
> Create Transaction DSL is missing TTL support
> ---------------------------------------------
>
> Key: CURATOR-407
> URL: https://issues.apache.org/jira/browse/CURATOR-407
> Project: Apache Curator
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 3.3.0
> Reporter: Jordan Zimmerman
> Fix For: 3.4.0
>
>
> TransactionCreateBuilder is missing TTL support. i.e. you should be able to
> specify a TTL when doing a create transaction.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)