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

Support Spring @Cacheable(sync=true) annotation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None

    Description

      @Cacheable(sync=true) guarantee that only one thread (across the cluster) will fetch value for a key on get, even in case of some simultaneous gets.

      So,
      org.apache.ignite.cache.spring.SpringCache#get(java.lang.Object, java.util.concurrent.Callable<T>)
      should be implemented to provide such guarantee.

      Attachments

        Issue Links

          Activity

            People

              mcherkasov Mikhail Cherkasov
              avinogradov Anton Vinogradov (Obsolete, actual is "av")
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: