storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kabh...@apache.org
Subject [3/8] storm git commit: use IntegerValidator to verify disruptor queue wait timeout config
Date Thu, 16 Jul 2015 23:32:23 GMT
use IntegerValidator to verify disruptor queue wait timeout config


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

Branch: refs/heads/0.9.x-branch
Commit: 511ba02a9fd7a5bffbc027501a307d7bca8871cc
Parents: 449fb8c
Author: Jungtaek Lim <kabhwan@gmail.com>
Authored: Fri Jul 17 08:20:30 2015 +0900
Committer: Jungtaek Lim <kabhwan@gmail.com>
Committed: Fri Jul 17 08:20:30 2015 +0900

----------------------------------------------------------------------
 storm-core/src/jvm/backtype/storm/Config.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/511ba02a/storm-core/src/jvm/backtype/storm/Config.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/Config.java b/storm-core/src/jvm/backtype/storm/Config.java
index 8ce9c79..993052d 100644
--- a/storm-core/src/jvm/backtype/storm/Config.java
+++ b/storm-core/src/jvm/backtype/storm/Config.java
@@ -864,7 +864,7 @@ public class Config extends HashMap<String, Object> {
      * vs. CPU usage
      */
     public static final String TOPOLOGY_DISRUPTOR_WAIT_TIMEOUT_MILLIS="topology.disruptor.wait.timeout.millis";
-    public static final Object TOPOLOGY_DISRUPTOR_WAIT_TIMEOUT_MILLIS_SCHEMA = Number.class;
+    public static final Object TOPOLOGY_DISRUPTOR_WAIT_TIMEOUT_MILLIS_SCHEMA = ConfigValidation.IntegerValidator;
 
     public static void setClasspath(Map conf, String cp) {
         conf.put(Config.TOPOLOGY_CLASSPATH, cp);


Mime
View raw message