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

Create a better mechanism for passing in Flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.0.0.CR2
    • 4.0.0.CR1
    • Core
    • None

      The current API is confusing and can cause the wrong method to be invoked. See mail list thread for discussion, but the best approach seems to be to follow a 'buider' style API, e.g.,

      cache.withFlags(FLAG1, FLAG2, FLAG3).put(k, v);

            manik_jira Manik Surtani (Inactive)
            manik_jira Manik Surtani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: