ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-6131 Visor Cmd: Fixed "cache -a" command output cache entries count.
Date Tue, 22 Aug 2017 04:08:23 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 1a42e78d6 -> 1f5054a2c


IGNITE-6131 Visor Cmd: Fixed "cache -a" command output cache entries count.


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

Branch: refs/heads/master
Commit: 1f5054a2cfc94ae044b77251818583811d5ea1a6
Parents: 1a42e78
Author: vsisko <vsisko@gridgain.com>
Authored: Tue Aug 22 11:08:21 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Aug 22 11:08:21 2017 +0700

----------------------------------------------------------------------
 .../apache/ignite/visor/commands/cache/VisorCacheCommand.scala   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1f5054a2/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
index 9d773ea..42ff01c 100755
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/cache/VisorCacheCommand.scala
@@ -408,8 +408,8 @@ class VisorCacheCommand {
                             formatDouble(nm.getCurrentCpuLoad * 100d) + " %",
                             X.timeSpan2HMSM(nm.getUpTime),
                             (
-                                "Total: " + (cm.getKeySize + cm.getOffHeapEntriesCount()),
-                                "  Heap: " + cm.getKeySize,
+                                "Total: " + (cm.getHeapEntriesCount + cm.getOffHeapEntriesCount()),
+                                "  Heap: " + cm.getHeapEntriesCount,
                                 "  Off-Heap: " + cm.getOffHeapEntriesCount(),
                                 "  Off-Heap Memory: " + formatMemory(cm.getOffHeapAllocatedSize)
                             ),


Mime
View raw message