kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: add javadoc comment to PersistenKeyValueFactory.enableCaching
Date Wed, 21 Sep 2016 18:11:16 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 4f821830b -> 24f81ea76


MINOR: add javadoc comment to PersistenKeyValueFactory.enableCaching

missing javadoc on public API method PersistenKeyValueFactory.enableCaching

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

Reviewers: Eno Thereska, Guozhang Wang

Closes #1891 from dguy/minor-java-doc


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

Branch: refs/heads/trunk
Commit: 24f81ea764a493b4422b6a3ef6b3e771d0e4d63b
Parents: 4f82183
Author: Damian Guy <damian.guy@gmail.com>
Authored: Wed Sep 21 11:11:12 2016 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Wed Sep 21 11:11:12 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/24f81ea7/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.


Mime
View raw message