Immutant
  1. Immutant
  2. IMMUTANT-265

Deprecate cache fn in favor of two fns: create and lookup

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Having a single function both create and return a reference to a global, shared cache is too confusing.

      Instead, we should have a single fn to create the cache, implying a restart if it already exists, and a single function to return a cache, nil indicating it hasn't been created.

      We'll alias the current cache function to create, but it should be deprecated.

        Issue Links

          Activity

          Hide
          Jim Crossley
          added a comment -

          I consider IMMUTANT-258 a failed attempt at addressing what this issue (265) addresses.

          Show
          Jim Crossley
          added a comment - I consider IMMUTANT-258 a failed attempt at addressing what this issue (265) addresses.

            People

            • Assignee:
              Jim Crossley
              Reporter:
              Jim Crossley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: