You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2015/06/02 22:10:16 UTC

[2/7] storm git commit: Made the keyFactory option public.

Made the keyFactory option public.

It can be set from the public API in other ways.  Having it public
means we can set it along with other values like hkey.


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

Branch: refs/heads/0.10.x-branch
Commit: c36702e210080b2bc6d59d8f9c0b7307f5926869
Parents: a6935d4
Author: eric-mulvaney <er...@kontagent.com>
Authored: Tue Apr 7 17:24:20 2015 -0400
Committer: eric-mulvaney <er...@kontagent.com>
Committed: Tue Apr 7 17:38:51 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/storm/redis/trident/state/RedisMapState.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/c36702e2/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java
----------------------------------------------------------------------
diff --git a/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java b/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java
index 7bc5afb..0379826 100644
--- a/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java
+++ b/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java
@@ -72,7 +72,7 @@ public class RedisMapState<T> implements IBackingMap<T> {
     public static class Options<T> implements Serializable {
         public int localCacheSize = 1000;
         public String globalKey = "$REDIS-MAP-STATE-GLOBAL";
-        KeyFactory keyFactory = null;
+        public KeyFactory keyFactory = null;
         public Serializer<T> serializer = null;
         public String hkey = null;
     }