IGNITE-843: Fixed tips.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/52b4244d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/52b4244d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/52b4244d Branch: refs/heads/ignite-843 Commit: 52b4244d5b21706b8327d1784485c70356107531 Parents: b896b37 Author: AKuznetsov <akuznet...@gridgain.com> Authored: Thu Jun 18 21:45:24 2015 +0700 Committer: AKuznetsov <akuznet...@gridgain.com> Committed: Thu Jun 18 21:45:24 2015 +0700 ---------------------------------------------------------------------- .../nodejs/public/form-models/caches.json | 102 ++++++++++--------- .../nodejs/public/form-models/clusters.json | 95 ++++++++--------- 2 files changed, 105 insertions(+), 92 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/52b4244d/modules/webconfig/nodejs/public/form-models/caches.json ---------------------------------------------------------------------- diff --git a/modules/webconfig/nodejs/public/form-models/caches.json b/modules/webconfig/nodejs/public/form-models/caches.json index 625502c..5642f8c 100644 --- a/modules/webconfig/nodejs/public/form-models/caches.json +++ b/modules/webconfig/nodejs/public/form-models/caches.json @@ -15,9 +15,11 @@ "items": "modes", "tip": [ "Cache modes:", - "<ul><li>Partitioned - in this mode the overall key set will be divided into partitions and all partitions will be split equally between participating nodes.</li>", - "<li>Replicated - in this mode all the keys are distributed to all participating nodes.</li>", - "<li>Local - in this mode caches residing on different grid nodes will not know about each other.</li></ul>" + "<ul>", + " <li>Partitioned - in this mode the overall key set will be divided into partitions and all partitions will be split equally between participating nodes.</li>", + " <li>Replicated - in this mode all the keys are distributed to all participating nodes.</li>", + " <li>Local - in this mode caches residing on different grid nodes will not know about each other.</li>", + "</ul>" ] }, { @@ -28,8 +30,10 @@ "items": "atomicities", "tip": [ "Atomicity:", - "<ul><li>Transactional - in this mode specified fully ACID-compliant transactional cache behavior.</li>", - "<li>Atomic - in this mode distributed transactions and distributed locking are not supported.</li></ul>" + "<ul>", + " <li>Transactional - in this mode specified fully ACID-compliant transactional cache behavior.</li>", + " <li>Atomic - in this mode distributed transactions and distributed locking are not supported.</li>", + "</ul>" ] }, { @@ -38,7 +42,7 @@ "model": "backups", "placeholder": "0", "tip": [ - "Number of nodes used to back up single partition for partitioned cache" + "Number of nodes used to back up single partition for partitioned cache." ] } ], @@ -54,9 +58,11 @@ "items": "memoryModes", "tip": [ "Memory modes:", - "<ul><li>ONHEAP_TIERED - in this mode entries will be stored on-heap first.</li>", - "<li>OFFHEAP_TIERED - distributed caches will start immediately and will load all necessary data from other available grid nodes in the background.</li>", - "<li>OFFHEAP_VALUES - in this mode no rebalancing will take place which means that caches will be either loaded on demand from persistent store whenever data is accessed, or will be populated explicitly.</li></ul>" + "<ul>", + " <li>ONHEAP_TIERED - in this mode entries will be stored on-heap first.</li>", + " <li>OFFHEAP_TIERED - distributed caches will start immediately and will load all necessary data from other available grid nodes in the background.</li>", + " <li>OFFHEAP_VALUES - in this mode no rebalancing will take place which means that caches will be either loaded on demand from persistent store whenever data is accessed, or will be populated explicitly.</li>", + "</ul>" ] }, { @@ -67,9 +73,11 @@ "tip": [ "Sets maximum amount of memory available to off-heap storage.<br/>", "Possible values are:", - "<ul><li>-1 - means that off-heap storage is disabled.</li>", - "<li>0 - Ignite will not limit off-heap storage (it's up to user to properly add and remove entries from cache to ensure that off-heap storage does not grow infinitely.</li>", - "<li>Any positive value specifies the limit of off-heap storage in bytes.</li></ul>" + "<ul>", + " <li>-1 - means that off-heap storage is disabled.</li>", + " <li>0 - Ignite will not limit off-heap storage (it's up to user to properly add and remove entries from cache to ensure that off-heap storage does not grow infinitely.</li>", + " <li>Any positive value specifies the limit of off-heap storage in bytes.</li>", + "</ul>" ] }, { @@ -77,7 +85,7 @@ "type": "check", "model": "swapEnabled", "tip": [ - "Flag indicating whether swap storage is enabled or not for this cache" + "Flag indicating whether swap storage is enabled or not for this cache." ] }, { @@ -88,7 +96,7 @@ "placeholder": "Choose eviction policy", "items": "evictionPolicies", "tip": [ - "Cache expiration policy" + "Cache expiration policy." ], "details": { "LRU": { @@ -106,7 +114,7 @@ "model": "maxMemorySize", "placeholder": "0", "tip": [ - "Maximum allowed cache size in bytes" + "Maximum allowed cache size in bytes." ] } ] @@ -158,7 +166,7 @@ "model": "nearStartSize", "placeholder": "375000", "tip": [ - "Initial cache size for near cache which will be used to pre-create internal hash table after start" + "Initial cache size for near cache which will be used to pre-create internal hash table after start." ] }, { @@ -168,7 +176,7 @@ "placeholder": "Choose eviction policy", "items": "evictionPolicies", "tip": [ - "Cache expiration policy" + "Cache expiration policy." ] } ] @@ -182,7 +190,7 @@ "model": "sqlEscapeAll", "tip": [ "If set then all the SQL table and field names will be escaped with double quotes.<br/>", - "This enforces case sensitivity for field names and also allows having special characters in table and field names" + "This enforces case sensitivity for field names and also allows having special characters in table and field names." ] }, { @@ -191,7 +199,7 @@ "model": "sqlOnheapRowCacheSize", "placeholder": "10240", "tip": [ - "Number of SQL rows which will be cached onheap to avoid deserialization on each SQL index access" + "Number of SQL rows which will be cached onheap to avoid deserialization on each SQL index access." ] }, { @@ -200,14 +208,14 @@ "model": "longQueryWarningTimeout", "placeholder": "3000", "tip": [ - "Timeout in milliseconds after which long query warning will be printed" + "Timeout in milliseconds after which long query warning will be printed." ] }, { "type": "indexedTypes", "model": "indexedTypes", "tip": [ - "Collection of types to index" + "Collection of types to index." ] }, { @@ -218,7 +226,7 @@ "editIdx": -1, "placeholder": "SQL function full class name", "tip": [ - "Classes with user-defined functions for SQL queries" + "Classes with user-defined functions for SQL queries." ] } ] @@ -234,9 +242,11 @@ "items": "rebalanceModes", "tip": [ "Rebalance modes:", - "<ul><li>Synchronous - in this mode distributed caches will not start until all necessary data is loaded from other available grid nodes.</li>", - "<li>Asynchronous - in this mode entries never end up in heap memory and get stored in offheap memory right away.</li>", - "<li>None - in this mode entry keys will be stored on heap memory, and values will be stored in offheap memory.</li></ul>" + "<ul>", + " <li>Synchronous - in this mode distributed caches will not start until all necessary data is loaded from other available grid nodes.</li>", + " <li>Asynchronous - in this mode entries never end up in heap memory and get stored in offheap memory right away.</li>", + " <li>None - in this mode entry keys will be stored on heap memory, and values will be stored in offheap memory.</li>", + "</ul>" ] }, { @@ -246,7 +256,7 @@ "placeholder": "2", "tip": [ "Size of rebalancing thread pool.<br>", - "Note that size serves as a hint and implementation may create more threads for rebalancing than specified here (but never less threads)" + "Note that size serves as a hint and implementation may create more threads for rebalancing than specified here (but never less threads)." ] }, { @@ -256,7 +266,7 @@ "placeholder": "512 * 1024", "tip": [ "Size (in bytes) to be loaded within a single rebalance message.<br/>", - "Rebalancing algorithm will split total data set on every node into multiple batches prior to sending data" + "Rebalancing algorithm will split total data set on every node into multiple batches prior to sending data." ] }, { @@ -266,7 +276,7 @@ "placeholder": "0", "tip": [ "If cache rebalance order is positive, rebalancing for this cache will be started only when rebalancing ", - "for all caches with smaller rebalance order (except caches with rebalance order 0) will be completed" + "for all caches with smaller rebalance order (except caches with rebalance order 0) will be completed." ] }, { @@ -275,7 +285,7 @@ "model": "rebalanceDelay", "placeholder": "0", "tip": [ - "Delay in milliseconds upon a node joining or leaving topology (or crash) after which rebalancing should be started automatically" + "Delay in milliseconds upon a node joining or leaving topology (or crash) after which rebalancing should be started automatically." ] }, { @@ -284,7 +294,7 @@ "model": "rebalanceTimeout", "placeholder": "10000", "tip": [ - "Rebalance timeout (ms)" + "Rebalance timeout (ms)." ] }, { @@ -293,7 +303,7 @@ "model": "rebalanceThrottle", "placeholder": "0", "tip": [ - "Time in milliseconds to wait between rebalance messages to avoid overloading of CPU or network" + "Time in milliseconds to wait between rebalance messages to avoid overloading of CPU or network." ] } ] @@ -306,7 +316,7 @@ "type": "check", "model": "readThrough", "tip": [ - "Flag indicating whether read-through caching should be used" + "Flag indicating whether read-through caching should be used." ] }, { @@ -314,7 +324,7 @@ "type": "check", "model": "writeThrough", "tip": [ - "Flag indicating whether write-through caching should be used" + "Flag indicating whether write-through caching should be used." ] } ] @@ -328,7 +338,7 @@ "model": "invalidate", "tip": [ "Invalidation flag for near cache entries in transaction.<br/>", - "If set then values will be invalidated (nullified) upon commit in near cache" + "If set then values will be invalidated (nullified) upon commit in near cache." ] }, { @@ -338,7 +348,7 @@ "placeholder": "1", "tip": [ "Default lock acquisition timeout.<br/>", - "If 0 then lock acquisition will never timeout" + "If 0 then lock acquisition will never timeout." ] }, { @@ -346,7 +356,7 @@ "type": "text", "model": "transactionManagerLookupClassName", "tip": [ - "Class name of transaction manager finder for integration for JEE app servers" + "Class name of transaction manager finder for integration for JEE app servers." ] } ] @@ -359,7 +369,7 @@ "type": "check", "model": "writeBehindEnabled", "tip": [ - "Flag indicating whether Ignite should use write-behind behaviour for the cache store" + "Flag indicating whether Ignite should use write-behind behaviour for the cache store." ] }, { @@ -369,7 +379,7 @@ "placeholder": "512", "tip": [ "Maximum batch size for write-behind cache store operations.<br/>", - "Store operations (get or remove) are combined in a batch of this size to be passed to cache store" + "Store operations (get or remove) are combined in a batch of this size to be passed to cache store." ] }, { @@ -379,7 +389,7 @@ "placeholder": "10240", "tip": [ "Maximum size of the write-behind cache.<br>", - "If cache size exceeds this value, all cached items are flushed to the cache store and write cache is cleared" + "If cache size exceeds this value, all cached items are flushed to the cache store and write cache is cleared." ] }, { @@ -388,7 +398,7 @@ "model": "writeBehindFlushFrequency", "placeholder": "5000", "tip": [ - "Frequency with which write-behind cache is flushed to the cache store in milliseconds" + "Frequency with which write-behind cache is flushed to the cache store in milliseconds." ] }, { @@ -397,7 +407,7 @@ "model": "writeBehindFlushThreadCount", "placeholder": "1", "tip": [ - "Number of threads that will perform cache flushing" + "Number of threads that will perform cache flushing." ] } ] @@ -410,7 +420,7 @@ "type": "check", "model": "statisticsEnabled", "tip": [ - "Flag indicating whether statistics gathering is enabled on a cache" + "Flag indicating whether statistics gathering is enabled on a cache." ] }, { @@ -418,7 +428,7 @@ "type": "check", "model": "managementEnabled", "tip": [ - "Flag indicating whether management is enabled on this cache" + "Flag indicating whether management is enabled on this cache." ] }, { @@ -427,7 +437,7 @@ "model": "readFromBackup", "tip": [ "Flag indicating whether data can be read from backup.<br/>", - "If not set then always get data from primary node (never from backup)" + "If not set then always get data from primary node (never from backup)." ] }, { @@ -436,7 +446,7 @@ "model": "copyOnRead", "tip": [ "Flag indicating whether copy of of the value stored in cache should be created for cache operation implying return value.<br/>", - " Also if this flag is set copies are created for values passed to CacheInterceptor and to CacheEntryProcessor" + "Also if this flag is set copies are created for values passed to CacheInterceptor and to CacheEntryProcessor." ] }, { @@ -446,7 +456,7 @@ "placeholder": "500", "tip": [ "Maximum number of allowed concurrent asynchronous operations.<br/>", - "If 0 returned then number of concurrent asynchronous operations is unlimited" + "If 0 returned then number of concurrent asynchronous operations is unlimited." ] } ] http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/52b4244d/modules/webconfig/nodejs/public/form-models/clusters.json ---------------------------------------------------------------------- diff --git a/modules/webconfig/nodejs/public/form-models/clusters.json b/modules/webconfig/nodejs/public/form-models/clusters.json index 5155241..2299215 100644 --- a/modules/webconfig/nodejs/public/form-models/clusters.json +++ b/modules/webconfig/nodejs/public/form-models/clusters.json @@ -14,7 +14,7 @@ "placeholder": "Choose caches", "items": "caches", "tip": [ - "Select caches to start in cluster" + "Select caches to start in cluster." ] }, { @@ -43,21 +43,19 @@ "tip": [ "Addresses may be represented as follows:", "<ul>", - " <li>IP address (e.g. 127.0.0.1, 9.9.9.9, etc);</li>", - " <li>IP address and port (e.g. 127.0.0.1:47500, 9.9.9.9:47501, etc);</li>", - " <li>IP address and port range (e.g. 127.0.0.1:47500..47510, 9.9.9.9:47501..47504, etc);</li>", - " <li>Hostname (e.g. host1.com, host2, etc);</li>", - " <li>Hostname and port (e.g. host1.com:47500, host2:47502, etc).</li>", - " <li>Hostname and port range (e.g. host1.com:47500..47510, host2:47502..47508, etc).</li>", + " <li>IP address (e.g. 127.0.0.1, 9.9.9.9, etc);</li>", + " <li>IP address and port (e.g. 127.0.0.1:47500, 9.9.9.9:47501, etc);</li>", + " <li>IP address and port range (e.g. 127.0.0.1:47500..47510, 9.9.9.9:47501..47504, etc);</li>", + " <li>Hostname (e.g. host1.com, host2, etc);</li>", + " <li>Hostname and port (e.g. host1.com:47500, host2:47502, etc).</li>", + " <li>Hostname and port range (e.g. host1.com:47500..47510, host2:47502..47508, etc).</li>", "</ul>", - "<p>", - "If port is 0 or not provided then default port will be used (depends on", - "discovery SPI configuration).", + "If port is 0 or not provided then default port will be used (depends on discovery SPI configuration).", "<p>", "If port range is provided (e.g. host:port1..port2) the following should be considered:", "<ul>", - " <li>port1 < port2 should be true;</li>", - " <li>Both port1 and port2 should be greater than 0.</li>", + " <li>port1 < port2 should be true;</li>", + " <li>Both port1 and port2 should be greater than 0.</li>", "</ul>" ] } @@ -99,7 +97,7 @@ "model": "addressRequestAttempts", "placeholder": "2", "tip": [ - "Number of attempts to send multicast address request. ", + "Number of attempts to send multicast address request.<br/>", "IP finder re-sends request only in case if no reply for previous request is received." ] }, @@ -108,10 +106,9 @@ "type": "text", "model": "localAddress", "tip": [ - "Local host address used by this IP finder.", - "If provided address is non-loopback then multicast socket is bound to this interface.", - "If local address is not set or is any local address then", - "IP finder creates multicast sockets for all found non-loopback addresses" + "Local host address used by this IP finder.<br/>", + "If provided address is non-loopback then multicast socket is bound to this interface.<br/>", + "If local address is not set or is any local address then IP finder creates multicast sockets for all found non-loopback addresses." ] } ] @@ -136,7 +133,7 @@ "model": "credential", "placeholder": "", "tip": [ - "Credential that is used during authentication on the cloud.", + "Credential that is used during authentication on the cloud.<br/>", "Depending on a cloud platform it can be a password or access key." ] }, @@ -146,7 +143,7 @@ "model": "credentialPath", "placeholder": "", "tip": [ - "Path to a credential that is used during authentication on the cloud.", + "Path to a credential that is used during authentication on the cloud.<br/>", "Access key or private key should be stored in a plain or PEM file without a passphrase." ] }, @@ -156,7 +153,7 @@ "model": "identity", "placeholder": "", "tip": [ - "Identity that is used as a user name during a connection to the cloud.", + "Identity that is used as a user name during a connection to the cloud.<br/>", "Depending on a cloud platform it can be an email address, user name, etc." ] }, @@ -180,7 +177,7 @@ "model": "projectName", "placeholder": "", "tip": [ - "Google Cloud Platforms project name.", + "Google Cloud Platforms project name.<br/>", "Usually this is an auto generated project number (ex. 208709979073) that can be found in 'Overview' section of Google Developer Console." ] }, @@ -190,8 +187,8 @@ "model": "bucketName", "placeholder": "", "tip": [ - "Google Cloud Storage bucket name.", - "If the bucket doesn't exist Ignite will automatically create it.", + "Google Cloud Storage bucket name.<br/>", + "If the bucket doesn't exist Ignite will automatically create it.<br/>", "However the name must be unique across whole Google Cloud Storage and Service Account Id must be authorized to perform this operation." ] }, @@ -253,7 +250,7 @@ "model": "backups", "placeholder": "0", "tip": [ - "Number of backup nodes" + "Number of backup nodes." ] }, { @@ -264,9 +261,11 @@ "items": "cacheModes", "tip": [ "Cache modes:", - "<ul><li>Partitioned - in this mode the overall key set will be divided into partitions and all partitions will be split equally between participating nodes.</li>", - "<li>Replicated - in this mode all the keys are distributed to all participating nodes.</li>", - "<li>Local - in this mode caches residing on different grid nodes will not know about each other.</li></ul>" + "<ul>", + " <li>Partitioned - in this mode the overall key set will be divided into partitions and all partitions will be split equally between participating nodes.</li>", + " <li>Replicated - in this mode all the keys are distributed to all participating nodes.</li>", + " <li>Local - in this mode caches residing on different grid nodes will not know about each other.</li>", + "</ul>" ] }, { @@ -275,7 +274,7 @@ "model": "atomicSequenceReserveSize", "placeholder": "1,000", "tip": [ - "Default number of sequence values reserved for IgniteAtomicSequence instances.", + "Default number of sequence values reserved for IgniteAtomicSequence instances.<br/>", "After a certain number has been reserved, consequent increments of sequence will happen locally, without communication with other nodes, until the next reservation has to be made." ] } @@ -317,7 +316,7 @@ "model": "segmentCheckFrequency", "placeholder": "10,000", "tip": [ - "Network segment check frequency in milliseconds.", + "Network segment check frequency in milliseconds.<br/>", "If 0, periodic segment check is disabled and segment is checked only on topology changes (if segmentation resolvers are configured)." ] }, @@ -327,9 +326,11 @@ "model": "waitForSegmentOnStart", "tip": [ "Wait for segment on start flag.", - "If enabled, node should wait for correct segment on start.", - "If node detects that segment is incorrect on startup and enabled, node waits until segment becomes correct.", - "If segment is incorrect on startup and disabled, exception is thrown." + "<ul>", + " <li>If enabled, node should wait for correct segment on start.</li>", + " <li>If node detects that segment is incorrect on startup and enabled, node waits until segment becomes correct.</li>", + " <li>If segment is incorrect on startup and disabled, exception is thrown.</li>", + "</ul>" ] }, { @@ -368,7 +369,7 @@ "placeholder": "Choose recorded event types", "items": "events", "tip": [ - "Array of event types, which will be recorded by GridEventStorageManager#record(Event).", + "Array of event types, which will be recorded by GridEventStorageManager#record(Event).<br/>", "Note, that either the include event types or the exclude event types can be established." ] } @@ -437,10 +438,11 @@ "placeholder": "60,000", "tip": [ "Job metrics update frequency in milliseconds.", - "<p>", - "If set to -1 job metrics are never updated.", - "If set to 0 job metrics are updated on each job start and finish.", - "Positive value defines the actual update frequency." + "<ul>", + " <li>If set to -1 job metrics are never updated.</li>", + " <li>If set to 0 job metrics are updated on each job start and finish.</li>", + " <li>Positive value defines the actual update frequency.</li>", + "</ul>" ] } ] @@ -462,7 +464,7 @@ "model": "peerClassLoadingLocalClassPathExclude", "placeholder": "[]", "tip": [ - "List of packages separated by comma from the system classpath that need to be peer-to-peer loaded from task originating node.", + "List of packages separated by comma from the system classpath that need to be peer-to-peer loaded from task originating node.<br/>", "'*' is supported at the end of the package name which means that all sub-packages and their classes are included like in Java package import clause." ] }, @@ -472,7 +474,7 @@ "model": "peerClassLoadingMissedResourcesCacheSize", "placeholder": "100", "tip": [ - "If size greater than 0, missed resources will be cached and next resource request ignored.", + "If size greater than 0, missed resources will be cached and next resource request ignored.<br/>", "If size is 0, then request for the resource will be sent to the remote node every time this resource is requested." ] }, @@ -496,7 +498,7 @@ "model": "clockSyncSamples", "placeholder": "8", "tip": [ - "Number of samples used to synchronize clocks between different nodes.", + "Number of samples used to synchronize clocks between different nodes.<br/>", "Clock synchronization is used for cache version assignment in CLOCK order mode." ] }, @@ -506,7 +508,7 @@ "model": "clockSyncFrequency", "placeholder": "120,000", "tip": [ - "frequency at which clock is synchronized between nodes, in milliseconds.", + "Frequency at which clock is synchronized between nodes, in milliseconds.<br/>", "Clock synchronization is used for cache version assignment in CLOCK order mode." ] }, @@ -516,7 +518,7 @@ "model": "timeServerPortBase", "placeholder": "31100", "tip": [ - "Time server provides clock synchronization between nodes.", + "Time server provides clock synchronization between nodes.<br/>", "Base UPD port number for grid time server. Time server will be started on one of free ports in range." ] }, @@ -628,7 +630,7 @@ "type": "check", "model": "txSerializableEnabled", "tip": [ - "Flag to enable/disable isolation level for cache transactions.", + "Flag to enable/disable isolation level for cache transactions.<br/>", "Serializable level does carry certain overhead and if not used, should be disabled." ] } @@ -659,9 +661,10 @@ "model": "allSegmentationResolversPassRequired", "tip": [ "All segmentation resolvers pass required flag.", - "<p>", - "If enabled all segmentation resolvers should succeed for node to be in correct segment.", - "If disabled at least one segmentation resolver should succeed for node to be in correct segment." + "<ul>", + " <li>If enabled all segmentation resolvers should succeed for node to be in correct segment.</li>", + " <li>If disabled at least one segmentation resolver should succeed for node to be in correct segment.</li>", + "</ul>" ] } ]