Address how to turn on/off show/hide system cache - Fixes #623. Signed-off-by: AKuznetsov <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/77225c03 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/77225c03 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/77225c03 Branch: refs/heads/ignite-1786 Commit: 77225c0393e4b30298c129608ef70eff4f556924 Parents: 083acbd Author: kcheng.mvp <[email protected]> Authored: Sun Apr 10 18:02:02 2016 +0700 Committer: AKuznetsov <[email protected]> Committed: Sun Apr 10 18:02:02 2016 +0700 ---------------------------------------------------------------------- .../ignite/visor/commands/cache/VisorCacheCommand.scala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/77225c03/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 old mode 100644 new mode 100755 index b6812c3..45429c4 --- 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 @@ -722,6 +722,9 @@ object VisorCacheCommand { "-clear" -> Seq( "Clears cache." ), + "-system" -> Seq( + "Enable showing of information about system caches." + ), "-scan" -> Seq( "Prints list of all entries from cache." ), @@ -760,7 +763,9 @@ object VisorCacheCommand { ), examples = Seq( "cache" -> - "Prints summary statistics about all caches.", + "Prints summary statistics about all non-system caches.", + "cache -system" -> + "Prints summary statistics about all caches including system cache.", "cache -i" -> "Prints cache statistics for interactively selected node.", "cache -id8=12345678 -s=hi -r" -> Seq(
