IGNITE-6449 Added missing cache configuration properties.
(cherry picked from commit 9b2bca7)


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

Branch: refs/heads/ignite-2.1.5-p1
Commit: 1a6461582eac95e1e51faf8acd9b8bd10394dd47
Parents: 4e38b79
Author: vsisko <vsi...@gridgain.com>
Authored: Wed Sep 20 19:07:55 2017 +0700
Committer: Alexey Kuznetsov <akuznet...@apache.org>
Committed: Wed Sep 20 19:09:00 2017 +0700

----------------------------------------------------------------------
 .../commands/cache/VisorCacheCommand.scala      | 23 ++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1a646158/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 42ff01c..f754275 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
@@ -839,11 +839,24 @@ object VisorCacheCommand {
 
         cacheT += ("Group", cfg.getGroupName)
         cacheT += ("Dynamic Deployment ID", cfg.getDynamicDeploymentId)
+        cacheT += ("System", bool2Str(cfg.isSystem))
+
         cacheT += ("Mode", cfg.getMode)
         cacheT += ("Atomicity Mode", safe(cfg.getAtomicityMode))
         cacheT += ("Statistic Enabled", bool2Str(cfg.isStatisticsEnabled))
         cacheT += ("Management Enabled", bool2Str(cfg.isManagementEnabled))
 
+        cacheT += ("On-heap cache enabled", bool2Str(cfg.isOnheapCacheEnabled))
+        cacheT += ("Partition Loss Policy", cfg.getPartitionLossPolicy)
+        cacheT += ("Query Parallelism", cfg.getQueryParallelism)
+        cacheT += ("Copy On Read", bool2Str(cfg.isCopyOnRead))
+        cacheT += ("Listener Configurations", cfg.getListenerConfigurations)
+        cacheT += ("Load Previous Value", bool2Str(cfg.isLoadPreviousValue))
+        cacheT += ("Memory Policy Name", cfg.getMemoryPolicyName)
+        cacheT += ("Node Filter", cfg.getNodeFilter)
+        cacheT += ("Read From Backup", bool2Str(cfg.isReadFromBackup))
+        cacheT += ("Topology Validator", cfg.getTopologyValidator)
+
         cacheT += ("Time To Live Eager Flag", cfg.isEagerTtl)
 
         cacheT += ("Write Synchronization Mode", 
safe(cfg.getWriteSynchronizationMode))
@@ -860,6 +873,8 @@ object VisorCacheCommand {
         cacheT += ("Rebalance Timeout", rebalanceCfg.getTimeout)
         cacheT += ("Rebalance Delay", rebalanceCfg.getPartitionedDelay)
         cacheT += ("Time Between Rebalance Messages", rebalanceCfg.getThrottle)
+        cacheT += ("Rebalance Batches Count", 
rebalanceCfg.getBatchesPrefetchCnt)
+        cacheT += ("Rebalance Cache Order", rebalanceCfg.getRebalanceOrder)
 
         cacheT += ("Eviction Policy Enabled", bool2Str(evictCfg.getPolicy != 
null))
         cacheT += ("Eviction Policy", safe(evictCfg.getPolicy))
@@ -881,8 +896,9 @@ object VisorCacheCommand {
         cacheT += ("Store Keep Binary", storeCfg.isStoreKeepBinary)
         cacheT += ("Store Read Through", bool2Str(storeCfg.isReadThrough))
         cacheT += ("Store Write Through", bool2Str(storeCfg.isWriteThrough))
+        cacheT += ("Store Write Coalescing", 
bool2Str(storeCfg.getWriteBehindCoalescing))
 
-        cacheT += ("Write-Behind Enabled", bool2Str(storeCfg.isEnabled))
+        cacheT += ("Write-Behind Enabled", 
bool2Str(storeCfg.isWriteBehindEnabled))
         cacheT += ("Write-Behind Flush Size", storeCfg.getFlushSize)
         cacheT += ("Write-Behind Frequency", storeCfg.getFlushFrequency)
         cacheT += ("Write-Behind Flush Threads Count", 
storeCfg.getFlushThreadCount)
@@ -895,8 +911,11 @@ object VisorCacheCommand {
         cacheT += ("Expiry Policy Factory Class Name", 
safe(cfg.getExpiryPolicyFactory))
 
         cacheT +=("Query Execution Time Threshold", 
queryCfg.getLongQueryWarningTimeout)
-        cacheT +=("Query Schema Name", queryCfg.getSqlSchema)
         cacheT +=("Query Escaped Names", bool2Str(queryCfg.isSqlEscapeAll))
+        cacheT +=("Query Schema Name", queryCfg.getSqlSchema)
+        cacheT +=("Query Indexed Types", queryCfg.getIndexedTypes)
+        cacheT +=("Maximum payload size for offheap indexes", 
cfg.getSqlIndexMaxInlineSize)
+        cacheT +=("Query Metrics History Size", cfg.getQueryDetailMetricsSize)
 
         val sqlFxs = queryCfg.getSqlFunctionClasses
 

Reply via email to