[
https://issues.apache.org/jira/browse/CURATOR-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995831#comment-15995831
]
ASF GitHub Bot commented on CURATOR-407:
----------------------------------------
Github user cammckenzie commented on a diff in the pull request:
https://github.com/apache/curator/pull/218#discussion_r114670616
--- Diff:
curator-framework/src/main/java/org/apache/curator/framework/api/transaction/TransactionCreateBuilder.java
---
@@ -18,17 +18,17 @@
*/
package org.apache.curator.framework.api.transaction;
-import org.apache.curator.framework.api.ACLCreateModePathAndBytesable;
-import org.apache.curator.framework.api.ACLPathAndBytesable;
-import org.apache.curator.framework.api.Compressible;
-import org.apache.curator.framework.api.CreateModable;
-import org.apache.curator.framework.api.PathAndBytesable;
-
-public interface TransactionCreateBuilder<T> extends
- PathAndBytesable<T>,
- CreateModable<ACLPathAndBytesable<T>>,
- ACLPathAndBytesable<T>,
- ACLCreateModePathAndBytesable<T>,
- Compressible<ACLCreateModePathAndBytesable<T>>
+public interface TransactionCreateBuilder<T> extends
TransactionCreateBuilder2<T>
--- End diff --
I'm sure there's a reason for this approach, but can you enlighten me as to
why you don't just add the withTtl() method to the TransactionCreateBuilder and
not introduce the TransactionCreateBuilder2?
> 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)