You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sk...@apache.org on 2023/07/27 09:22:16 UTC

[ignite] branch master updated: IGNITE-19647 Cleared up Cache Template docs (#10853)

This is an automated email from the ASF dual-hosted git repository.

sk0x50 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new dc011c75583 IGNITE-19647 Cleared up Cache Template docs (#10853)
dc011c75583 is described below

commit dc011c75583362de4afbfa393c6d815223f649e6
Author: IgGusev <ig...@gridgain.com>
AuthorDate: Thu Jul 27 13:22:09 2023 +0400

    IGNITE-19647 Cleared up Cache Template docs (#10853)
---
 docs/_docs/configuring-caches/configuration-overview.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/_docs/configuring-caches/configuration-overview.adoc b/docs/_docs/configuring-caches/configuration-overview.adoc
index 1a6c9551495..00541fd95a4 100644
--- a/docs/_docs/configuring-caches/configuration-overview.adoc
+++ b/docs/_docs/configuring-caches/configuration-overview.adoc
@@ -123,9 +123,9 @@ tab:C++[unsupported]
 == Cache Templates
 A cache template is an instance of `CacheConfiguration` that can be registered in the cluster and used later as a basis for creating new caches or SQL tables. A cache or table created from a template inherits all the properties of the template.
 
-Templates are useful when creating a table using the link:sql-reference/ddl#create-table[CREATE TABLE] command, because the command does not support all available cache parameters.
+A cache template is an instance of `CacheConfiguration` that can be registered in the cluster and used later as a basis for creating new caches or SQL tables. A cache or table created from a template inherits all the properties of the template.
 
-NOTE: Currently, templates are supported for the CREATE TABLE and REST commands.
+Templates can be used in many contexts: on servers, clients (thin and thick), in SQL (e.g., CREATE TABLE), in commands such as `createCache` and `getOrCreateCache`, as well as in the REST API calls. For example, thin clients and SQL do not support some cache configuration properties, and cache templates can be used to work around this limitation.
 
 To create a template, define a cache configuration and add it to the `Ignite` instance, as shown below. If you want do define a cache template in the XML configuration file, you must add an asterisk to the template's name. This is required to indicate that the configuration is a template and not an actual cache.