ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [42/50] [abbrv] incubator-ignite git commit: # IGNITE-298 special care for '-1' value.
Date Fri, 27 Feb 2015 14:59:17 GMT
# IGNITE-298 special care for '-1' value.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/388da762
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/388da762
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/388da762

Branch: refs/heads/ignite-290
Commit: 388da76293f4f0a8ed3265b9782633496863508f
Parents: ae37301
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Fri Feb 27 16:50:02 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Fri Feb 27 16:50:02 2015 +0700

----------------------------------------------------------------------
 .../ignite/visor/commands/config/VisorConfigurationCommand.scala  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/388da762/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/config/VisorConfigurationCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/config/VisorConfigurationCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/config/VisorConfigurationCommand.scala
index 64e230c..a2ab512 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/config/VisorConfigurationCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/config/VisorConfigurationCommand.scala
@@ -242,7 +242,8 @@ class VisorConfigurationCommand {
                 cmnT += ("Query Function Classes", arr2Str(query.indexCustomFunctionClasses()))
                 cmnT += ("Query Path To SQL Schema Objects", arr2Str(query.searchPath()))
                 cmnT += ("Query Initial Script Path", safe(query.initialScriptPath()))
-                cmnT += ("Query Off-Heap Storage Memory", query.maxOffHeapMemory())
+                cmnT += ("Query Off-Heap Storage Memory",
+                    if (query.maxOffHeapMemory() >= 0) query.maxOffHeapMemory() else NA)
                 cmnT += ("Query Execution Time Threshold", query.longQueryExecutionTimeout())
                 cmnT += ("Query Long Queries Explaining", bool2Str(query.longQryExplain()))
                 cmnT += ("Query Serializer", bool2Str(query.useOptimizedSerializer()))


Mime
View raw message