Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10740

Add documentation for IGNITE_DISABLE_TRIGGERING_CACHE_INTERCEPTOR_ON_CONFLICT

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentation
    • None
    • Docs Required

    Description

      We should add to documentation IGNITE_DISABLE_TRIGGERING_CACHE_INTERCEPTOR_ON_CONFLICT option.

      As a reference you could get javadoc from skipInterceptor() :

      Checks, that cache interceptor should be skipped. It is expects by default behavior that Interceptor methods ({@link CacheInterceptor#onBeforePut(Cache.Entry, Object)}, {@link CacheInterceptor#onAfterPut(Cache.Entry)}, {@link CacheInterceptor#onBeforeRemove(Cache.Entry)} and {@link CacheInterceptor#onAfterRemove(Cache.Entry)}) will be called, but {@link CacheInterceptor#onGet(Object, Object)}. This can even make DR-update flow broken in case of non-idempotent Interceptor and force users to call onGet manually as the only workaround. Also, user may want to skip Interceptor to avoid redundant entry transformation for DR updates and exchange with internal data b/w data centres which is a normal case.

       

      Attachments

        Issue Links

          Activity

            People

              agoncharuk Alexey Goncharuk
              antonovsergey93 Sergey Antonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: