You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/09/20 12:48:29 UTC

[31/33] ignite git commit: IGNITE-6449 Added missing cache configuration properties.

IGNITE-6449 Added missing cache configuration properties.


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

Branch: refs/heads/ignite-3478
Commit: 9b2bca7361d9001fab440e481e99d99838842bfe
Parents: 3c75184
Author: vsisko <vs...@gridgain.com>
Authored: Wed Sep 20 19:07:55 2017 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Wed Sep 20 19:07:55 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/9b2bca73/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