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

CacheContainerAdmin.removeCache() undefined for predefined caches

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.1.3.Final
    • 13.0.0.Dev01
    • Core
    • None

    Description

      CacheContainerAdmin.removeCache() doesn't say anything about its behaviour when the cache was not created with CacheContainerAdmin.createCache().

      The current implementation removes the cache only on the local node.
      OTOH the javadoc of DefaultCacheManager.removeCache() says it always removes the cache cluster-wide, and the implementation just delegates to CacheContainerAdmin.removeCache().

      We should change the documentation (and maybe the implementation) to make it clear to users when they should expect the cache to be removed on all the nodes and when they should expect it to be removed on only one node.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: