See my comments inline.

Also note that we have a documentation page for this feature:
https://apacheignite.readme.io/docs/spring-caching

On Thu, Nov 5, 2015 at 10:10 AM, Andrey Gura <ag...@gridgain.com> wrote:

> We should not support this annotations. All listed annotation (excluding
> @CacheConfig) allows user to manage caching behaviour (eg. eviction on
> cache update) and doesn't affect CacheManager implementation.
>

I think it's better to say that implementing cache manager is enough to
support all these annotations as well as any other functionality of Spring
Caching. So yes, we do support them.


>
> @CacheConfig just defines cache configuration that will be used for
> particular Spring service.
>

This is right. This annotation should be processed only by Spring and
allows, for example, to use custom cache manager implementation (e.g.,
Ignite-based).


>
> On Thu, Nov 5, 2015 at 9:01 PM, Dmitriy Setrakyan <dsetrak...@apache.org>
> wrote:
>
> > How about @CachePut, @Caching, @CacheConfig, and @CacheEvict annotations
> > listed here:
> >
> >
> >
> http://docs.spring.io/spring/docs/4.2.0.RC1/spring-framework-reference/htmlsingle/#cache-annotations-put
> >
> > We support all these?
> >
> > D.
> >
> > On Thu, Nov 5, 2015 at 8:00 AM, Andrey Gura <ag...@gridgain.com> wrote:
> >
> > > Oops, I didn't noticed.
> > >
> > > Ok, it means we already have this integration.
> > >
> > > On Thu, Nov 5, 2015 at 6:54 PM, Valentin Kulichenko <
> > > valentin.kuliche...@gmail.com> wrote:
> > >
> > > > Andrey, we already have this. See SpringCacheManager class.
> > > >
> > > > -Val
> > > >
> > > > On Thursday, November 5, 2015, Andrey Gura <ag...@gridgain.com>
> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > @Cacheable is not Spring Boot annotation. It's part of
> spring-context
> > > > > module.
> > > > >
> > > > > If client want use @Cacheable annotation in Spring based project he
> > > > should
> > > > > configure cache manager in application context.
> > > > >
> > > > > Cache manager should implement
> org.springframework.cache.CacheManager
> > > > > interface. So we need implement it in order to provide Ignite based
> > > > caching
> > > > > to Spring users.
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Nov 5, 2015 at 8:32 AM, Dmitriy Setrakyan <
> > > dsetrak...@apache.org
> > > > > <javascript:;>>
> > > > > wrote:
> > > > >
> > > > > > Igniters,
> > > > > >
> > > > > > I am aware that Ignite supports Spring @Cacheable annotation.
> Does
> > it
> > > > > mean
> > > > > > that Ignite integrated with Spring boot?
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://docs.spring.io/spring-boot/docs/1.3.0.M1/reference/html/boot-features-caching.html
> > > > > >
> > > > > > If not, we should definitely add such integration.
> > > > > >
> > > > > > D.
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrey Gura
> > > > > GridGain Systems, Inc.
> > > > > www.gridgain.com
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Andrey Gura
> > > GridGain Systems, Inc.
> > > www.gridgain.com
> > >
> >
>
>
>
> --
> Andrey Gura
> GridGain Systems, Inc.
> www.gridgain.com
>

Reply via email to