Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2059

Custom CacheLoaders are treated as CacheStores unless annotated with @CacheLoaderMetadata

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 6.0.0.Final
    • 5.1.6.FINAL
    • Loaders and Stores
    • None
    • Hide

      comment out @CacheLoaderMetadata from org.infinispan.loaders.cluster.ClusterCacheLoader

      test org.infinispan.loaders.ClusterCacheLoaderTest will fail

      Show
      comment out @CacheLoaderMetadata from org.infinispan.loaders.cluster.ClusterCacheLoader test org.infinispan.loaders.ClusterCacheLoaderTest will fail
    • Hide

      Annotate your CacheLoader with @CacheLoaderMetadata

      Show
      Annotate your CacheLoader with @CacheLoaderMetadata

    Description

      If the @CacheLoaderMetadata is missing, Infinispan will treat the CacheLoader as a CacheStore: if it's not implementing CacheStore as well the component will fail.

      @CacheLoaderMetadata should be optional.

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: