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:17 UTC

[3/7] storm git commit: Made keyFactory public in RedisClusterMapState.Options

Made keyFactory public in RedisClusterMapState.Options

To match the same change to RedisMapState.Options, for the same reasons.
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/2059f23d
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/2059f23d
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/2059f23d

Branch: refs/heads/0.10.x-branch
Commit: 2059f23d8a30df9089f6a928b4a2bf51d608099f
Parents: 410feef
Author: eric-mulvaney <er...@kontagent.com>
Authored: Wed Apr 8 14:35:51 2015 -0400
Committer: eric-mulvaney <er...@kontagent.com>
Committed: Wed Apr 8 14:35:51 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/storm/blob/2059f23d/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisClusterMapState.java
----------------------------------------------------------------------
diff --git a/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisClusterMapState.java b/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisClusterMapState.java
index 1154376..e47330b 100644
--- a/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisClusterMapState.java
+++ b/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisClusterMapState.java
@@ -72,7 +72,7 @@ public class RedisClusterMapState<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;
     }