You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by dr...@apache.org on 2017/05/02 20:06:56 UTC

[48/50] curator git commit: added missing doc for executorService

added missing doc for executorService


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/086c5b41
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/086c5b41
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/086c5b41

Branch: refs/heads/master
Commit: 086c5b4152cdb045e7bb4818d9cef925e88ed313
Parents: b84d351
Author: randgalt <ra...@apache.org>
Authored: Tue Apr 25 09:49:47 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue Apr 25 09:49:47 2017 -0500

----------------------------------------------------------------------
 .../apache/curator/framework/recipes/nodes/PersistentTtlNode.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/086c5b41/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentTtlNode.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentTtlNode.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentTtlNode.java
index e1e8bf4..91f5f71 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentTtlNode.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/PersistentTtlNode.java
@@ -81,6 +81,7 @@ public class PersistentTtlNode implements Closeable
 
     /**
      * @param client the client
+     * @param executorService  ExecutorService to use for background thread. This service should be single threaded, otherwise you may see inconsistent results.
      * @param path path for the parent ZNode
      * @param ttlMs max ttl for the node in milliseconds
      * @param initData data for the node