ololo3000 commented on a change in pull request #9509: URL: https://github.com/apache/ignite/pull/9509#discussion_r735141432
########## File path: docs/_docs/extensions-and-integrations/spring/spring-caching.adoc ########## @@ -16,25 +16,132 @@ == Overview -Ignite is shipped with `SpringCacheManager` - an implementation of http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html[Spring Cache Abstraction, window=_blank]. -It provides an annotation-based way to enable caching for Java methods so that the result of a method execution is stored -in an Ignite cache. Later, if the same method is called with the same set of parameter values, the result will be retrieved -from the cache instead of actually executing the method. +http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html[Spring Cache, window=_blank] +abstraction provides an annotation-based way to enable caching for Java methods so that the result of a method execution +is stored in an external cache storage. Later, if the same method is called with the same set of parameter values, the result +will be retrieved from the cache instead of actually executing the method. -== Enabling Ignite for Spring Caching +Apache Ignite provides the `ignite-spring-cache-ext` extension that allows to use Apache Ignite Cache as an external +storage for the Spring Cache abstraction. The mentioned integration is achieved by providing implementations of the +`CacheManager` Spring interface. There are two such implementations: `SpringCacheManager` and +`IgniteClientSpringCacheManager`, which use Apache Ignite node or Apache Ignite thin client to connect to the Apache Ignite +cluster and perform data caching, respectively. -Only two simple steps are required to plug in an Ignite cache into your Spring-based application: +== Maven Configuration + +If you are using Maven to manage dependencies in your project, you can add Apache Ignite Spring Cache extension Review comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
