Repository: kafka
Updated Branches:
  refs/heads/0.10.1 29e30a79e -> 5b29bb8b0


MINOR: add javadoc comment to PersistenKeyValueFactory.enableCaching

missing javadoc on public API method PersistenKeyValueFactory.enableCaching

Author: Damian Guy <damian....@gmail.com>

Reviewers: Eno Thereska, Guozhang Wang

Closes #1891 from dguy/minor-java-doc

(cherry picked from commit 24f81ea764a493b4422b6a3ef6b3e771d0e4d63b)
Signed-off-by: Guozhang Wang <wangg...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/5b29bb8b
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/5b29bb8b
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/5b29bb8b

Branch: refs/heads/0.10.1
Commit: 5b29bb8b039c96634d82352c7e17922c83dad48f
Parents: 29e30a7
Author: Damian Guy <damian....@gmail.com>
Authored: Wed Sep 21 11:11:12 2016 -0700
Committer: Guozhang Wang <wangg...@gmail.com>
Committed: Wed Sep 21 11:11:24 2016 -0700

----------------------------------------------------------------------
 streams/src/main/java/org/apache/kafka/streams/state/Stores.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/5b29bb8b/streams/src/main/java/org/apache/kafka/streams/state/Stores.java
----------------------------------------------------------------------
diff --git a/streams/src/main/java/org/apache/kafka/streams/state/Stores.java 
b/streams/src/main/java/org/apache/kafka/streams/state/Stores.java
index c4e0b38..107f950 100644
--- a/streams/src/main/java/org/apache/kafka/streams/state/Stores.java
+++ b/streams/src/main/java/org/apache/kafka/streams/state/Stores.java
@@ -399,6 +399,10 @@ public class Stores {
          */
         PersistentKeyValueFactory<K, V> disableLogging();
 
+        /**
+         * Caching should be enabled on the created store.
+         * @return the factory to create a persistent key-value store
+         */
         PersistentKeyValueFactory<K, V> enableCaching();
         /**
          * Return the instance of StateStoreSupplier of new key-value store.

Reply via email to